Template:Weapon Type/EnumImage
Purpose
Shortcut template for displaying weapon type images or their names as strings.
Parameter List
{{Weapon Type/EnumImage | <!-- Anonymous parameter. The desired weapon type name or ID, case insensitive. Invalid strings will render nothing. --> |options <!-- The desired image options. If options aren't provided, the link to the image is disabled. --> |text only <!-- Whether only the text should appear. --> }}
For weapon type, the valid list of strings, case insensitive, are:
- Sword
- 01
- sword
- Knuckles
- 02
- knux
- knuckles
- Spear
- 03
- spear
- Double Saber
- 04
- ds
- double saber
- Axe
- 05
- axe
- Twin Saber
- 06
- ts
- twin saber
- Twin Dagger
- 07
- td
- twin dagger
- Twin Claw
- 08
- tc
- twin claw
- Saber
- 09
- saber
- Dagger
- 0a
- dag
- dagger
- Claw
- 0b
- claw
- Whip
- 0c
- whip
- Slicer
- 0d
- slicer
- Rifle
- 0e
- rifle
- Shotgun
- 0f
- sg
- shotgun
- Longbow
- 10
- bow
- longbow
- Grenade
- 11
- grenade
- grenade launcher
- gl
- Laser Cannon
- 12
- laser cannon
- laser
- lc
- Twin Handgun
- 13
- twin handguns
- twin handgun
- thgs
- thg
- Handgun
- 14
- handgun
- hg
- Crossbow
- 15
- crossbow
- xbow
- Card
- 16
- card
- Machinegun
- 17
- machinegun
- machine gun
- mg
- Rod
- 18
- rod
- Wand
- 19
- wand
- TCSM
- 1b
- tcsm
- RCSM
- 1c
- rcsm
For image options, a guide on syntax can be found here: [1]
Examples
Icon for "01"
{{Weapon Type/EnumImage|01}}
Icon for "01", text only
{{Weapon Type/EnumImage|01|text only=1}}
Sword
Icon for "01", Options="16px"
{{Weapon Type/EnumImage|01|options=16px}}
Icon for "asdasd"
{{Weapon Type/EnumImage|asdasd}}