Template:ItemIconSmall: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
m (Text replace - "Test" to "Lab")
m (Text replace - "Fire Gun" to "Flamethrower")
Line 1: Line 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:
<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:


  <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
*Flamethrower
*Gun
*Gun
*Revolver
*Revolver
Line 70: Line 70:
*Lab Pass 3
*Lab Pass 3


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:
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:


{{ItemIconSmall|Fire Gun}}
{{ItemIconSmall|Flamethrower}}


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>

Revision as of 20:51, 1 June 2012

This template takes an item name and turns it into a small icon. To use, simply put:

{{ItemIconSmall|item name}}

Where the parameter item name can be the following:

  • Flamethrower
  • Gun
  • Revolver
  • Bazooka
  • Machine Gun
  • Missile
  • Bomb
  • Gatling Gun
  • Sabre
  • Drill
  • Jet Engine
  • Propeller Engine
  • Shuriken
  • Battery
  • Archery Set
  • Microwave
  • Iron
  • Mixer
  • Telephone
  • Antenna
  • Spanner
  • Saw
  • Chainsaw
  • Beam Gun
  • Axe
  • Screwdriver
  • Screw
  • Spring
  • Gear
  • Telecard
  • Lance
  • Crane
  • Army Knife
  • Sickle
  • Computer
  • Mobile PC
  • Hammer
  • Syringe
  • Camera
  • Video Camera
  • Frypan
  • Pencil
  • Tire
  • Gas Tank
  • Tap
  • Bucket
  • Vacuum Cleaner
  • Mouse
  • Key
  • Game Machine
  • Plush Toy
  • Comic Bom Bom
  • Kick Board
  • Titallium
  • Lunatium
  • Gaiamond
  • Round Metal
  • Titanuum
  • Fusion Pass 1
  • Fusion Pass 2
  • Fusion Pass 3
  • Lab Pass 1
  • Lab Pass 2
  • Lab Pass 3

For example, to get a small  Flamethrower icon, simply put {{ItemIconSmall|Flamethrower}} and you'll get:

Simple.

This template uses the Switch-Item template, so it converts the item name to a number.