Template:ItemCat
From Card Hunter Wiki
(Difference between revisions)
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{ #switch: {{ lc: {{ItemType|{{{1}}} }} }} |
− | {{ #switch: {{ lc: {{ItemType|{{{1}}} }} }} | + | |
| weapon = [[Category:Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | | weapon = [[Category:Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
| common = [[Category:Common Weapon|{{SUBPAGENAME}}]] | | common = [[Category:Common Weapon|{{SUBPAGENAME}}]] | ||
Line 53: | Line 52: | ||
| uncommon = [[Category:Uncommon Divine Item|{{SUBPAGENAME}}]] | | uncommon = [[Category:Uncommon Divine Item|{{SUBPAGENAME}}]] | ||
| rare = [[Category:Rare Divine Item|{{SUBPAGENAME}}]] | | rare = [[Category:Rare Divine Item|{{SUBPAGENAME}}]] | ||
− | | epic = [[Category:Epic Divine Item|{{SUBPAGENAME}}]] | + | | epic = [[Category:Epic Divine Item|{{SUBPAGENAME}}]] |
| legendary = [[Category:Legendary Divine Item|{{SUBPAGENAME}}]] }} | | legendary = [[Category:Legendary Divine Item|{{SUBPAGENAME}}]] }} | ||
| arcane item = [[Category:Arcane Item|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | | arcane item = [[Category:Arcane Item|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
Line 101: | Line 100: | ||
| uncommon = [[Category:Uncommon Divine Skill|{{SUBPAGENAME}}]] | | uncommon = [[Category:Uncommon Divine Skill|{{SUBPAGENAME}}]] | ||
| rare = [[Category:Rare Divine Skill|{{SUBPAGENAME}}]] | | rare = [[Category:Rare Divine Skill|{{SUBPAGENAME}}]] | ||
− | | epic = [[Category:Epic Divine Skill|{{SUBPAGENAME}}]] | + | | epic = [[Category:Epic Divine Skill|{{SUBPAGENAME}}]] |
| legendary = [[Category:Legendary Divine Skill|{{SUBPAGENAME}}]] }} | | legendary = [[Category:Legendary Divine Skill|{{SUBPAGENAME}}]] }} | ||
| martial skill = [[Category:Martial Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | | martial skill = [[Category:Martial Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
Line 109: | Line 108: | ||
| epic = [[Category:Epic Martial Skill|{{SUBPAGENAME}}]] | | epic = [[Category:Epic Martial Skill|{{SUBPAGENAME}}]] | ||
| legendary = [[Category:Legendary Martial Skill|{{SUBPAGENAME}}]] }} | | legendary = [[Category:Legendary Martial Skill|{{SUBPAGENAME}}]] }} | ||
− | }} | + | }}{{ #switch: {{ lc: {{ItemType|{{{1}}} }} }} |
− | </includeonly> | + | | weapon = [[Category:Level {{{3}}} Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} |
+ | | common = [[Category:Level {{{3}}} Common Weapon|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Weapon|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Weapon|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Weapon|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Weapon|{{SUBPAGENAME}}]] }} | ||
+ | | divine weapon = [[Category:Level {{{3}}} Divine Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Divine Weapon|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Divine Weapon|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Divine Weapon|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Divine Weapon|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Divine Weapon|{{SUBPAGENAME}}]] }} | ||
+ | | staff = [[Category:Level {{{3}}} Staff|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Staff|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Staff|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Staff|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Staff|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Staff|{{SUBPAGENAME}}]] }} | ||
+ | | divine armor = [[Category:Level {{{3}}} Divine Armor|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Divine Armor|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Divine Armor|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Divine Armor|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Divine Armor|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Divine Armor|{{SUBPAGENAME}}]] }} | ||
+ | | heavy armor = [[Category:Level {{{3}}} Heavy Armor|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Heavy Armor|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Heavy Armor|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Heavy Armor|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Heavy Armor|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Heavy Armor|{{SUBPAGENAME}}]] }} | ||
+ | | robe = [[Category:Level {{{3}}} Robe|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Robe|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Robe|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Robe|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Robe|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Robe|{{SUBPAGENAME}}]] }} | ||
+ | | helmet = [[Category:Level {{{3}}} Helmet|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Helmet|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Helmet|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Helmet|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Helmet|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Helmet|{{SUBPAGENAME}}]] }} | ||
+ | | shield = [[Category:Level {{{3}}} Shield|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Shield|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Shield|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Shield|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Shield|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Shield|{{SUBPAGENAME}}]] }} | ||
+ | | divine item = [[Category:Level {{{3}}} Divine Item|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Divine Item|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Divine Item|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Divine Item|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Divine Item|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Divine Item|{{SUBPAGENAME}}]] }} | ||
+ | | arcane item = [[Category:Level {{{3}}} Arcane Item|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Arcane Item|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Arcane Item|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Arcane Item|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Arcane Item|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Arcane Item|{{SUBPAGENAME}}]] }} | ||
+ | | boots = [[Category:Level {{{3}}} Boots|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Boots|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Boots|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Boots|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Boots|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Boots|{{SUBPAGENAME}}]] }} | ||
+ | | treasure = [[Category:Level {{{3}}} Treasure|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Treasure|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Treasure|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Treasure|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Treasure|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Treasure|{{SUBPAGENAME}}]] }} | ||
+ | | dwarf skill = [[Category:Level {{{3}}} Dwarf Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Dwarf Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Dwarf Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Dwarf Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Dwarf Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Dwarf Skill|{{SUBPAGENAME}}]] }} | ||
+ | | elf skill = [[Category:Level {{{3}}} Elf Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Elf Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Elf Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Elf Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Elf Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Elf Skill|{{SUBPAGENAME}}]] }} | ||
+ | | human skill = [[Category:Level {{{3}}} Human Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Human Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Human Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Human Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Human Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Human Skill|{{SUBPAGENAME}}]] }} | ||
+ | | arcane skill = [[Category:Level {{{3}}} Arcane Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Arcane Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Arcane Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Arcane Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Arcane Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Arcane Skill|{{SUBPAGENAME}}]] }} | ||
+ | | divine skill = [[Category:Level {{{3}}} Divine Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Divine Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Divine Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Divine Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Divine Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Divine Skill|{{SUBPAGENAME}}]] }} | ||
+ | | martial skill = [[Category:Level {{{3}}} Martial Skill|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Level {{{3}}} Common Martial Skill|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Level {{{3}}} Uncommon Martial Skill|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Level {{{3}}} Rare Martial Skill|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Level {{{3}}} Epic Martial Skill|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Level {{{3}}} Legendary Martial Skill|{{SUBPAGENAME}}]] }} | ||
+ | }}{{ #switch: {{ lc: {{ItemRarity|{{{2}}} }} }} | ||
+ | | common = [[Category:Common Item|{{SUBPAGENAME}}]][[Category:Level {{{3}}} Common Item|{{SUBPAGENAME}}]] | ||
+ | | uncommon = [[Category:Uncommon Item|{{SUBPAGENAME}}]][[Category:Level {{{3}}} Uncommon Item|{{SUBPAGENAME}}]] | ||
+ | | rare = [[Category:Rare Item|{{SUBPAGENAME}}]][[Category:Level {{{3}}} Rare Item|{{SUBPAGENAME}}]] | ||
+ | | epic = [[Category:Epic Item|{{SUBPAGENAME}}]][[Category:Level {{{3}}} Epic Item|{{SUBPAGENAME}}]] | ||
+ | | legendary = [[Category:Legendary Item|{{SUBPAGENAME}}]][[Category:Level {{{3}}} 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: | ||
<pre> | <pre> | ||
− | {{ItemCat|type|rarity}} | + | {{ItemCat|type|rarity|level}} |
</pre> | </pre> | ||
Latest revision as of 20:23, 26 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.
[edit] 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]]