Template:ItemType

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: b | f = Foo | b = Bar | b = Baz | }}
+
{{#switch: {{{1|}}}
 +
| B = Boots
 +
| b = Boots
 +
| S = Skill
 +
| s = Skill
 +
| W = Weapon
 +
| w = Weapon
 +
| #default = Pls input item type !
 +
|}}
  
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 17: Line 25:
 
<code><nowiki>{{ItemType|W}}</nowiki></code> = Weapon
 
<code><nowiki>{{ItemType|W}}</nowiki></code> = Weapon
  
{{ItemType|b}}
+
{{ItemType|w}}
  
 
</noinclude>
 
</noinclude>

Revision as of 06:00, 20 December 2012



Displays an item type. Usage:

{{ItemType|<type of item>}}

Currently supported item types: w = weapon, s = skill, b = boots

Examples

{{ItemType|W}} = Weapon

Weapon


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools