Wikia

TOR Wiki

Icon

Talk0
3,863pages on
this wiki

Template page

Template documentation (for the template shown above, sometimes hidden or invisible)
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|icons slot color crystal|5}}
Result
Dnasample355

Advanced parameters

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 examples

{{Icon|dnasample3|1|size=1}} up to size=4
Dnasample311
Dnasample311
Dnasample311
Dnasample311
{{Icon|diatiumscrapmetal|1|blacknum=true}}
Diatiumscrapmetal11

Visit Template:Icon/doc to edit this text! (How does this work?)


Around Wikia's network

Random Wiki