Template:CardType

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "reserved")
 
m (Protected "Template:CardType" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(25 intermediate revisions by one user not shown)
Line 1: Line 1:
reserved
+
<includeonly>{{#switch: {{uc:{{{1|}}} }}
 +
| BLUE = Movement
 +
| RED = Attack
 +
| GREEN = Block
 +
| GREY = Armor
 +
| WHITE = Assist
 +
| ORANGE = Boost
 +
| PURPLE = Utility
 +
| BLACK = Handicap
 +
| #default = ERROR TYPE !
 +
}}{{#if: {{{2|}}}|
 +
{{#switch: {{uc: {{{2}}} }}
 +
| BLUE =, Movement
 +
| RED =, Attack
 +
| GREEN =, Block
 +
| GREY =, Armor
 +
| WHITE =, Assist
 +
| ORANGE =, Boost
 +
| PURPLE =, Utility
 +
| BLACK =, Handicap
 +
}}| }}{{#if: {{{3|}}}|
 +
{{#switch: {{uc: {{{3}}} }}
 +
| BLUE =, Movement
 +
| RED =, Attack
 +
| GREEN =, Block
 +
| GREY =, Armor
 +
| WHITE =, Assist
 +
| ORANGE =, Boost
 +
| PURPLE =, Utility
 +
| BLACK =, Handicap
 +
}}| }}</includeonly><noinclude>
 +
 
 +
Displays a card type. Usage:
 +
<pre>
 +
{{CardType|color 1|color 2|color 3}}
 +
</pre>
 +
 
 +
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 = Assist, orange = Boost, purple = Utility, black = Drawback
 +
 
 +
 
 +
== Examples ==
 +
<code><nowiki>{{CardType|red||}}</nowiki></code> = Attack
 +
 
 +
<code><nowiki>{{CardType|red| | }}</nowiki></code> = Attack
 +
 
 +
<code><nowiki>{{CardType|red|blue|green}}</nowiki></code> = Attack , Movement , Block
 +
 
 +
<code><nowiki>{{CardType|brown}}</nowiki></code> = ERROR TYPE !
 +
 
 +
<code><nowiki>{{CardType|brown|brown|red}}</nowiki></code> = ERROR TYPE ! , ERROR TYPE ! , Attack
 +
 
 +
</noinclude>

Latest revision as of 01:02, 14 September 2013


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 = Assist, orange = Boost, purple = Utility, black = Drawback


[edit] 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