Template:CardCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 249: Line 249:
 
     | epic = [[Category:Epic Handicap Card|{{SUBPAGENAME}}]]
 
     | epic = [[Category:Epic Handicap Card|{{SUBPAGENAME}}]]
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 
     | no_rarity! = [[Category:No Rarity Card|{{SUBPAGENAME}}]] }}
 +
}}
 +
}}{{#if: {{{2|}}}|
 +
[[Has Cardtype::Hybrid| ]]|
 +
{{#switch: {{uc:{{{1|}}} }}
 +
| RED = [[Has Cardtype::Attack| ]]
 +
| BLUE = [[Has Cardtype::Movement| ]]
 +
| GREEN = [[Has Cardtype::Block| ]]
 +
| GREY = [[Has Cardtype::Armor| ]]
 +
| WHITE = [[Has Cardtype::Assist| ]]
 +
| ORANGE = [[Has Cardtype::Boost| ]]
 +
| PURPLE = [[Has Cardtype::Utility| ]]
 +
| BLACK = [[Has Cardtype::Handicap| ]]
 
}}  
 
}}  
 
}}
 
}}

Revision as of 20:13, 9 April 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