Template:ItemIcon

From DSP Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
[editview]
Usage:

{{ItemIcon
|ItemName=
|ItemSizeLg=
}}

NOTE: The ItemName is used to construct the filename for the 90px icon shown. For example, providing "Unknown" as in the example below, the template looks for and loads "Icon_Unknown.png". If the image does not exist, it will show as a broken image. Be sure to spell things the same. For multiple-word item names, use a space between the words as per normal.

Example: The following wiki code
{{ItemIcon|ItemName=Smelter}}
OR
{{ItemIcon
|ItemName=Smelter
}}

Will display an icon with link the item:

Icon Arc Smelter.png
Visit Template:ItemIcon/doc to edit this text! (How does this work?) (Refresh this text - why?)