Editing Template:ItemIconSmall
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly>[[Image:T1-I-{{Switch-Item|{{{1| | <includeonly>[[Image:T1-I-{{Switch-Item|{{{1|Fire Gun}}}}}-I.gif]]</includeonly><noinclude>This template takes an item name and turns it into a small icon. To use, simply put: | ||
<nowiki>{{ItemIconSmall|</nowiki>''item name''<nowiki>}}</nowiki> | <nowiki>{{ItemIconSmall|</nowiki>''item name''<nowiki>}}</nowiki> | ||
Line 5: | Line 5: | ||
Where the parameter ''item name'' can be the following: | Where the parameter ''item name'' can be the following: | ||
* | *Fire Gun | ||
*Gun | *Gun | ||
*Revolver | *Revolver | ||
Line 70: | Line 70: | ||
*Lab Pass 3 | *Lab Pass 3 | ||
For example, to get a small {{Item| | For example, to get a small {{Item|Fire Gun}} icon, simply put <span style="font-family:'Courier New'"><nowiki>{{ItemIconSmall|</nowiki>'''Fire Gun'''<nowiki>}}</nowiki></span> and you'll get: | ||
{{ItemIconSmall| | {{ItemIconSmall|Fire Gun}} | ||
Simple. | Simple. | ||
This template uses the [[Template:Switch-Item|Switch-Item]] template, so it converts the item name to a number.</noinclude> | This template uses the [[Template:Switch-Item|Switch-Item]] template, so it converts the item name to a number.</noinclude> |