Template:Switch-Item: 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>{{#switch: {{{1|Fire Gun}}}
<includeonly>{{#switch: {{{1|Flamethrower}}}
|Fire Gun=00
|Flamethrower=00
|Gun=01
|Gun=01
|Revolver=02
|Revolver=02
Line 72: Line 72:
Where the parameter ''item name'' is, well, the item name. List of item names that can be used:
Where the parameter ''item name'' is, well, the item name. List of item names that can be used:


*Fire Gun
*Flamethrower
*Gun
*Gun
*Revolver
*Revolver
Line 140: Line 140:
*Gigaia 00
*Gigaia 00


For example, <span style="font-family:'Courier New'"><nowiki>{{Switch-Item|</nowiki>'''Fire Gun'''<nowiki>}}</nowiki></span> will convert to {{Switch-Item|Fire Gun}}. Simple.</noinclude>
For example, <span style="font-family:'Courier New'"><nowiki>{{Switch-Item|</nowiki>'''Flamethrower'''<nowiki>}}</nowiki></span> will convert to {{Switch-Item|Flamethrower}}. Simple.</noinclude>

Revision as of 19:51, 1 June 2012

This template converts item names to index numbers. It is mainly used for item icons, which use these numbers. To use, put:

{{Switch-Item|item name}}

Where the parameter item name is, well, the item name. List of item names that can be used:

  • 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
  • BomBom
  • 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
  • Biolent 3
  • Grapplite 9
  • Gigaia 00

For example, {{Switch-Item|Flamethrower}} will convert to 00. Simple.