Template:ItemCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m (Protected "Template:ItemCat" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
Line 78: Line 78:
 
     | epic = [[Category:Epic Dwarf Skill|{{SUBPAGENAME}}]]
 
     | epic = [[Category:Epic Dwarf Skill|{{SUBPAGENAME}}]]
 
     | legendary = [[Category:Legendary Dwarf Skill|{{SUBPAGENAME}}]] }}
 
     | legendary = [[Category:Legendary Dwarf Skill|{{SUBPAGENAME}}]] }}
| elf skill = [[Category:Elf Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }}
+
| elf skill = <!--[[Category:Elf Skill|{{SUBPAGENAME}}]]--> {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }}
 
     | common = [[Category:Common Elf Skill|{{SUBPAGENAME}}]]
 
     | common = [[Category:Common Elf Skill|{{SUBPAGENAME}}]]
 
     | uncommon = [[Category:Uncommon Elf Skill|{{SUBPAGENAME}}]]
 
     | uncommon = [[Category:Uncommon Elf Skill|{{SUBPAGENAME}}]]

Revision as of 20:23, 23 September 2013


Instruction for item categorization template, usage is as follows:

{{ItemCat|type|rarity}}

Type and rarity are mandatory fields. This template uses the ItemType and ItemRarity templates, hence inputs must be acceptable by them.

Examples

{{ItemCat|W|r|}} = [[Category:Weapon]] [[Category:Rare Weapon]]

{{ItemCat|Dfs|e}} = [[Category:Dwarf Skill ]] [[Category:Epic Dwarf Skill]]

{{ItemCat|B|c}} = [[Category:Boots]] [[Category:Common Boots]]


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools