Editing Template:ItemIconSmall

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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|Flamethrower}}}}}-I.gif]]</includeonly><noinclude>This template takes an item name and turns it into a small icon. To use, simply put:
<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:


*Flamethrower
*Fire Gun
*Gun
*Gun
*Revolver
*Revolver
Line 70: Line 70:
*Lab Pass 3
*Lab Pass 3


For example, to get a small {{Item|Flamethrower}} icon, simply put <span style="font-family:'Courier New'"><nowiki>{{ItemIconSmall|</nowiki>'''Flamethrower'''<nowiki>}}</nowiki></span> and you'll get:
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|Flamethrower}}
{{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>
Please note that all contributions to Wikifang are considered to be released under the Attribution-NonCommercial-ShareAlike 3.0 Unported (see Wikifang:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)