Template:CardCat
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#if: {{{2 | + | {{#if: {{{2}}}| |
[[Category:Hybrid Card|{{SUBPAGENAME}}]] | [[Category:Hybrid Card|{{SUBPAGENAME}}]] | ||
{{#switch: {{uc: {{{1}}}{{{2}}} }} | {{#switch: {{uc: {{{1}}}{{{2}}} }} |
Revision as of 00:22, 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]]