Template:CardType

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
+
<includeonly>{{#switch: {{uc:{{{1|}}} }}
| Blue = Movement
+
| blue = Movement
+
 
  | BLUE = Movement
 
  | BLUE = Movement
| Red = Attack
 
| red = Attack
 
 
  | RED = Attack
 
  | RED = Attack
| Green = Block
 
| green = Block
 
 
  | GREEN = Block
 
  | GREEN = Block
| Grey = Armor
 
| grey = Armor
 
 
  | GREY = Armor
 
  | GREY = Armor
| White = Buff
 
| white = Buff
 
 
  | WHITE = Buff
 
  | WHITE = Buff
| Orange = Boost
 
| orange = Boost
 
 
  | ORANGE = Boost
 
  | ORANGE = Boost
| Purple = Utility
 
| purple = Utility
 
 
  | PURPLE = Utility
 
  | PURPLE = Utility
| Black = Drawback
 
| black = Drawback
 
 
  | BLACK = Drawback
 
  | BLACK = Drawback
 
  | #default = ERROR TYPE !
 
  | #default = ERROR TYPE !
 
}}{{#if: {{{2|}}}|
 
}}{{#if: {{{2|}}}|
{{#switch: {{{2}}}
+
{{#switch: {{uc: {{{2}}} }}
| Blue =, Movement
+
| blue =, Movement
+
 
  | BLUE =, Movement
 
  | BLUE =, Movement
| Red =, Attack
 
| red =, Attack
 
 
  | RED =, Attack
 
  | RED =, Attack
| Green =, Block
 
| green =, Block
 
 
  | GREEN =, Block
 
  | GREEN =, Block
| Grey =, Armor
 
| grey =, Armor
 
 
  | GREY =, Armor
 
  | GREY =, Armor
| White =, Buff
 
| white =, Buff
 
 
  | WHITE =, Buff
 
  | WHITE =, Buff
| Orange =, Boost
 
| orange =, Boost
 
 
  | ORANGE =, Boost
 
  | ORANGE =, Boost
| Purple =, Utility
 
| purple =, Utility
 
 
  | PURPLE =, Utility
 
  | PURPLE =, Utility
| Black =, Drawback
 
| black =, Drawback
 
 
  | BLACK =, Drawback
 
  | BLACK =, Drawback
 
  | #default = , ERROR TYPE !
 
  | #default = , ERROR TYPE !
 
}}| }}{{#if: {{{3|}}}|
 
}}| }}{{#if: {{{3|}}}|
{{#switch: {{{3}}}
+
{{#switch: {{uc: {{{3}}} }}
| Blue =, Movement
+
| blue =, Movement
+
 
  | BLUE =, Movement
 
  | BLUE =, Movement
| Red =, Attack
 
| red =, Attack
 
 
  | RED =, Attack
 
  | RED =, Attack
| Green =, Block
 
| green =, Block
 
 
  | GREEN =, Block
 
  | GREEN =, Block
| Grey =, Armor
 
| grey =, Armor
 
 
  | GREY =, Armor
 
  | GREY =, Armor
| White =, Buff
 
| white =, Buff
 
 
  | WHITE =, Buff
 
  | WHITE =, Buff
| Orange =, Boost
 
| orange =, Boost
 
 
  | ORANGE =, Boost
 
  | ORANGE =, Boost
| Purple =, Utility
 
| purple =, Utility
 
 
  | PURPLE =, Utility
 
  | PURPLE =, Utility
| Black =, Drawback
 
| black =, Drawback
 
 
  | BLACK =, Drawback
 
  | BLACK =, Drawback
 
  | #default =, ERROR TYPE !
 
  | #default =, ERROR TYPE !

Revision as of 18:40, 21 December 2012


Displays a card type. Usage:

{{CardType|color 1|color 2|color 3}}

Card type = color of card. May also confirm via the effects of the card to determine if it is a hybrid card. Maximum hybrid count = 3. Also caters for caps or non-caps input.

Currently supported colors and card types: blue = Movement, red = Attack, green = Block, grey = Armor, white = Buff, orange = Boost, purple = Utility, black = Drawback


Examples

{{CardType|red||}} = Attack

{{CardType|red| | }} = Attack

{{CardType|red|blue|green}} = Attack , Movement , Block

{{CardType|brown}} = ERROR TYPE !

{{CardType|brown|brown|red}} = ERROR TYPE ! , ERROR TYPE ! , Attack


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools