Changes

Jump to: navigation, search

Template:Card data

1,440 bytes added, 03:08, 9 February 2019
Created page with "<noinclude> ==Usage== Extract card data for a card for use in other templates. The only parameter is the card name. The card data is stored in templates named "Template:Card..."
<noinclude>
==Usage==
Extract card data for a card for use in other templates. The only parameter is the card name.

The card data is stored in templates named "Template:Card data: card name". For example, [[Template:Card data: Zetalpa, Primal Dawn]]. The contents of each card data template are formatted as follows:

'''Name|Expansion|Rarity|Colors|Cost|Type|Subtypes|Stats|Keywords'''

* Name: The card name, such as "Zetalpa, Primal Dawn". Use "Side1//Side2" for double-sided cards, such as "Invent//Invert".
* Expansion: The 3-letter abbreviation for the card's expansion set, such as "RIX"
* Rarity: "c", "u", "r", "m", or "mp" according to the rarity
* Colors: A color string such as "ubr", or "c" for colorless
* Cost: The base mana cost of the card, such as "19". Use two costs separated by a comma for split cards, such as "6,9"
* Type: "Creature", "Spell", or "Support"
* Subtypes: A comma-separated list of sub-types, such as "Dinosaur,Elder"
* Stats: For creatures, power and toughness separated by a comma, such as "4,8". For supports, the shield cost, such as "4". Blank for spells.
* Keywords: A comma-separated list of keywords used by the card, such as "Activate,Double Strike,Flying,Trample,Vigilance".

==Example==
The following mark-up:
<pre><nowiki>
{{Card data|Zetalpa, Primal Dawn}}
</nowiki></pre>

Produces:

{{Card data|Zetalpa, Primal Dawn}}


</noinclude><includeonly>{{Card data: {{{1}}}}}</includeonly>

Navigation menu