Template:CardCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 53: Line 53:
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 
  | BLUEGREEN
 
  | BLUEGREEN
  | GREENBLUE = [[Category:Block + Move Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3}}} }} }}
+
  | GREENBLUE = [[Category:Move + Block Card|{{SUBPAGENAME}}]]{{ #switch: {{ lc: {{CardRarity|{{{3}}} }} }}
     | common = [[Category:Common Block + Move Card|{{SUBPAGENAME}}]]
+
     | common = [[Category:Common Move + Block Card|{{SUBPAGENAME}}]]
     | uncommon = [[Category:Uncommon Block + Move Card|{{SUBPAGENAME}}]]
+
     | uncommon = [[Category:Uncommon Move + Block Card|{{SUBPAGENAME}}]]
     | rare = [[Category:Rare Block + Move Card|{{SUBPAGENAME}}]]
+
     | rare = [[Category:Rare Move + Block Card|{{SUBPAGENAME}}]]
     | epic = [[Category:Epic Block + Move Card|{{SUBPAGENAME}}]]
+
     | epic = [[Category:Epic Move + Block Card|{{SUBPAGENAME}}]]
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 
  | BLUEGREY
 
  | BLUEGREY

Revision as of 23:56, 9 September 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