Difference between revisions of "Template:Infobox card"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Template usage== The only parameter is the card name. The card data is pulled from the associated card data template. ==Example== This shorthand: <pre> {{Info...")
 
Line 37: Line 37:
 
| data8  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}}}
 
| data8  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}}}
 
| label9 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|Abilities}}
 
| label9 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|Abilities}}
| data9  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}}}
+
| data9  = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|{{Abilities list formatted|{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}}}}}
 
 
 
| belowstyle = background:#ddf;
 
| belowstyle = background:#ddf;
 
| below      = [[Cards]]
 
| below      = [[Cards]]
 
}}</includeonly>
 
}}</includeonly>

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