Template:Icon/doc

Creates an icon with an optional stack count.

Note: Numbers may be harder to read on very old browsers that don't support the text-shadow property.

Parameters
1


 * 1
 * The icon's filename, without the extension. Defaults to inv_misc_questionmark.


 * 2
 * Stack number, as in stackable items or buffs.

3 or size
 * A number from 1 to 4, to set the icon's size. 1 is 64px, 2 is 48px, 3 is 32px, and 4 is 24px. Defaults to 1.


 * float
 * Value of the icon's float property. Options: left, right, none, or inherit. Defaults to left.


 * margin
 * Size of the margin around the icon. Include the unit (em, px, etc.). Defaults to 0.3em.


 * ext
 * The file extension of the image. Defaults to .png. Should see very rare use.


 * width
 * A number of pixels, used instead of size for custom sizes. Don't include the unit (px). Not recommended with stacks, since it won't change the font size like size does. Additionally, sizes above 64px may appear blurry.

Examples

 * <- An icon for ants.