Template:CardCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
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}}]]

Revision as of 20:37, 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]]


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools