Open main menu

mtgpq wiki β

Changes

Template:Infobox card

2,415 bytes added, 02:00, 15 February 2019
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..."
<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>
{{Infobox card|Zetalpa,_Primal_Dawn}}
</pre>

Produces:
{{Infobox card|Zetalpa,_Primal_Dawn}}

[[Category:Infobox templates]]

</noinclude><includeonly>{{Infobox
| abovestyle = {{Infobox sec|above}}
| headerstyle = {{Infobox sec|header}}
| labelstyle = {{Infobox sec|label|width=25%}}
| above = {{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}
| label1 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}|Set}}
| data1 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}|{{SetSymbol|{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}}} {{Set_expand|{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}}}}}
| label2 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}|Rarity}}
| data2 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}| {{Rarity|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}}}} {{Rarity_expand|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}}
| label3 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}|Color(s)}}
| data3 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}| {{Color Icons|{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}}}}}
| label4 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|4}}|Cost}}
| data4 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|4}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|4}} mana}}
| label5 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}|Type}}
| data5 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}| {{{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}s}} {{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}}}
| label6 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|Power}}
| data6 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|{{#explode:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|/|0}}}}
| label7 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|Toughness}}
| data7 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|{{#explode:{{#explode:{{Card data|{{{1}}}}}|{{!}}|7}}|/|1}}}}
| label8 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}|Shields}}
| data8 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|8}}}}
| label9 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|Abilities}}
| data9 = {{#if:{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}|{{#explode:{{Card data|{{{1}}}}}|{{!}}|9}}}}

| belowstyle = background:#ddf;
| below = [[Cards]]
}}</includeonly>