Template:ItemIcon/doc: Difference between revisions
Template page
More actions
Content deleted Content added
imported>76561197966921476 Created page with "__NOTOC__ Usage:<pre> <nowiki> {{ItemIcon |ItemName= |ItemSizeLg= }} </nowiki></pre> NOTE: The ItemName is used to construct the filename for the 90px icon shown. For example..." |
(No difference)
|
Latest revision as of 18:27, 5 February 2021
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:
