Wikia

WoWWiki

Icon/doc

Talk0
101,769pages on
this wiki

Template page | < Template:Icon

Description 
Creates an item icon with a stack count overlay.
Syntax 
{{Icon|icon graphic|stack count}}

The icon graphic will link to [[File:<icon graphic>.png]].

Example
{{Icon|inv potion 49|5}}
Result
Inv potion 4955

Advanced parametersEdit

There are a number of advanced, named parameters not listed above and strongly not recommended for general use:

|float=
float of the icon itself
|margin=
margin of the icon itself
|ext=
file extension of the icon itself (if not .png)
|size=
from 1 (the default) to 4 (the smallest).
|width=
instead of |size=, in pixels
|blacknum=true
to display the stack number in black font instead of white font

Advanced examplesEdit

{{Icon|inv potion 49|1|size=1}} up to size=4
Inv potion 4911
Inv potion 4922
Inv potion 4933
Inv potion 4944
{{Icon|spell holy auramastery|5|blacknum=true}}
Spell holy auramastery55

Around Wikia's network

Random Wiki