Changes

Jump to: navigation, search

Template:Card data

144 bytes added, 00:55, 10 February 2019
no edit summary
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|StatsP/T|Shields|Keywords'''
* {| class="wikitable"|-! Element! Description! Examples|-| Name: | The card name, such as "Zetalpa, Primal Dawn". Use "Side1//Side2" for double-sided cards, such as "Invent//Invert".* | "Zetalpa, Primal Dawn"|-| Expansion: | The 3-letter abbreviation for the card's expansion set, such as .| "RIX"* |-| Rarity: | A one or two letter abbreviation of the card's rarity.| "C", "U", "R", "M", or "MP" according to the rarity* |-| Colors: | An upper-case string representing the color string such as of the card.| "W", "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.| "19", such as "6,9"* |-| Type: | The type of the card.| "Creature", "Spell", or "Support"* |-| Subtypes: | A comma-separated list of sub-types, such as .| "Dinosaur,Elder"* Stats: |-| P/T| For creatures, power and toughness separated by a slash, such as ; blank otherwise.| "4/8". |-| Shields| For supports, the shield cost, such as ; blank otherwise.| "4". Blank for spells.* |-| Keywords: | A comma-separated list of keywords used by the card, such as . | "Activate,Double Strike,Flying,Trample,Vigilance".|}
==Example==

Navigation menu