Template:ItemType

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{{type|}}} | B = Boots | b = Boots | S = Skill | s = Skill | W = Weapon | w = Weapon | #default = <span style="color:red">Pls input item type !...")
 
Line 1: Line 1:
<includeonly>{{#switch: {{{type|}}}
+
<includeonly>{{#switch: {{{1|}}}
  | B = Boots
+
  | Bo = Boots
  | b = Boots
+
  | bo = Boots
  | S = Skill
+
  | Sk = Skill
  | s = Skill
+
  | sk = Skill
  | W = Weapon
+
  | We = Weapon
  | w = Weapon
+
  | we = Weapon
  | #default = <span style="color:red">Pls input item type !</span>
+
  | #default = Pls input item type !
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
 
Displays an item type. Usage:
 
Displays an item type. Usage:
 
<pre>
 
<pre>
{{ItemType|type}}
+
{{ItemType|<type of item>}}
 
</pre>
 
</pre>
  
Line 20: Line 20:
 
<code><nowiki>{{ItemType|W}}</nowiki></code> = Weapon
 
<code><nowiki>{{ItemType|W}}</nowiki></code> = Weapon
  
</noinclude>
+
{{ItemType|we}}
  
{{ItemType|w}}
+
</noinclude>

Revision as of 05:51, 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



      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools