Template:ItemCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 217: Line 217:
 
     | epic = [[Category:Level {{{3}}} Epic Martial Skill|{{SUBPAGENAME}}]]
 
     | epic = [[Category:Level {{{3}}} Epic Martial Skill|{{SUBPAGENAME}}]]
 
     | legendary = [[Category:Level {{{3}}} Legendary Martial Skill|{{SUBPAGENAME}}]] }}
 
     | legendary = [[Category:Level {{{3}}} Legendary Martial Skill|{{SUBPAGENAME}}]] }}
}}[[Category:Level {{{3}}} Item|{{SUBPAGENAME}}]]</includeonly>
+
}}{{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }}
 +
    | common = [[Category:Common Item|{{SUBPAGENAME}}]]
 +
    | uncommon = [[Category:Uncommon Item|{{SUBPAGENAME}}]]
 +
    | rare = [[Category:Rare Item|{{SUBPAGENAME}}]]
 +
    | epic = [[Category:Epic Item|{{SUBPAGENAME}}]]
 +
    | legendary = [[Category:Legendary Item|{{SUBPAGENAME}}]] }}[[Category:Level {{{3}}} Item|{{SUBPAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
Instruction for item categorization template, usage is as follows:
 
Instruction for item categorization template, usage is as follows:

Revision as of 04:13, 25 October 2013


Instruction for item categorization template, usage is as follows:

{{ItemCat|type|rarity|level}}

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