Template:CardCat
From Card Hunter Wiki
(Difference between revisions)
Line 225: | Line 225: | ||
| epic = [[Category:Epic Armor Card|{{SUBPAGENAME}}]] | | epic = [[Category:Epic Armor Card|{{SUBPAGENAME}}]] | ||
| no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }} | | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }} | ||
− | | WHITE = [[Category:Assist Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3 | + | | WHITE = [[Category:Assist Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3}}} }} }} |
| common = [[Category:Common Assist Card|{{SUBPAGENAME}}]] | | common = [[Category:Common Assist Card|{{SUBPAGENAME}}]] | ||
| uncommon = [[Category:Uncommon Assist Card|{{SUBPAGENAME}}]] | | uncommon = [[Category:Uncommon Assist Card|{{SUBPAGENAME}}]] | ||
| rare = [[Category:Rare Assist Card|{{SUBPAGENAME}}]] | | rare = [[Category:Rare Assist Card|{{SUBPAGENAME}}]] | ||
| epic = [[Category:Epic Assist Card|{{SUBPAGENAME}}]] | | epic = [[Category:Epic Assist Card|{{SUBPAGENAME}}]] | ||
− | | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }} | + | | <span style="color:red">no_rarity!</span> = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }} |
| ORANGE = [[Category:Boost Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3}}} }} }} | | ORANGE = [[Category:Boost Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3}}} }} }} | ||
| common = [[Category:Common Boost Card|{{SUBPAGENAME}}]] | | common = [[Category:Common Boost Card|{{SUBPAGENAME}}]] |
Revision as of 19:40, 14 February 2013
Instruction for card categorization template, usage is as follows:
{{CardCat|cardcolor1|cardcolor2|rarity}}
cardcolor1 is a mandatory field. This template uses the CardRarity template, hence inputs must be acceptable by them.
Examples
{{CardCat|ORANGE|BLUE|r}} = [[Category:Move + Boost Card]][[Category:Rare Move + Boost Card]]
{{CardCat|BLACK||u}} = [[Category:Handicap Card]] [[Category:Uncommon Handicap Card]]