Difference between revisions of "Template:Infobox card"

From mtgpq wiki
Jump to: navigation, search
Line 18: Line 18:
 
| abovestyle  = {{Infobox sec|above}}
 
| abovestyle  = {{Infobox sec|above}}
 
| headerstyle  = {{Infobox sec|header}}
 
| headerstyle  = {{Infobox sec|header}}
| labelstyle  = {{Infobox sec|label|width=25%}}
+
| labelstyle  = {{Infobox sec|label|width=30%}}
 
| above  = {{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}
 
| above  = {{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}
 
| label1  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}|Set}}
 
| label1  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}|Set}}

Revision as of 03:13, 15 February 2019

Template usage

The only parameter is the card name. The card data is pulled from the associated card data template.

Example

This shorthand:

{{Infobox card|Zetalpa,_Primal_Dawn}}

Produces:

Zetalpa, Primal Dawn
Set Rivals of Ixalan Rivals of Ixalan
Legacy Legacy format Legacy
Rarity CommonUncommonRare|Mythic|Masterpiece  Mythic
Color(s) White  White
Cost 19 mana
Type Creatures Creature
Sub-type(s) Dinosaur, Elder
Power 4
Toughness 8
Abilities Double Strike Double Strike
Flying Flying
Trample Trample
Vigilance Vigilance
Activate
Cards