Template:ItemType
From Card Hunter Wiki
(Difference between revisions)
(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: {{{ | + | <includeonly>{{#switch: {{{1|}}} |
− | | | + | | Bo = Boots |
− | | | + | | bo = Boots |
− | | | + | | Sk = Skill |
− | | | + | | sk = Skill |
− | | | + | | We = Weapon |
− | | | + | | we = Weapon |
− | | #default = | + | | #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 | ||
− | + | {{ItemType|we}} | |
− | + | </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