7,180
edits
Changes
Created page with "<noinclude> == Usage == Generates content for a given card in a panel whose layout is up to the user of the template. The only parameter is the name of the card. == Example..."
<noinclude>
== Usage ==
Generates content for a given card in a panel whose layout is up to the user of the template.
The only parameter is the name of the card.
== Example ==
The following shorthand (containing the card panel in a table):
<pre><nowiki>
{| class="wikitable"
| {{Card panel|Abbot of Keral Keep}}
|}
</nowiki></pre>
Produces:
{| class="wikitable" style="width: 320px;"
| {{Card panel|Abbot of Keral Keep}}
|}
</noinclude><includeonly><div id="Card_Panel_{{{!}}}" style="width: 277px; margin: 0 auto;">
[[File:{{{1}}}.png]]
<span style="text-align:left; float:left">'''<!--
-->[https://mtgpq.info/cards/{{#replace:{{#replace:{{#replace:{{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}|'|}}|,|}}| |}}{{#if:{{#pos:{{Card data: {{{1}}}|7}}|Saga}}|I}} {{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}]'''</span><!--
--> <span style="text-align:right; float:right">{{Rarity icon lineup|{{Card data: {{{1}}}|3}}}}</span><br>
[[{{Set expand|{{Card data: {{{1}}}|2}}}}]] {{SetSymbol|{{Card data: {{{1}}}|2}}}}<br>
{{Card data: {{{1}}}|5}} mana '''·'''
{{{{Card data: {{{1}}}|6}}s}} ({{Card data: {{{1}}}|8}}) '''·'''
{{Color Icons|{{Card data: {{{1}}}|4}}}}
</div></includeonly>
== Usage ==
Generates content for a given card in a panel whose layout is up to the user of the template.
The only parameter is the name of the card.
== Example ==
The following shorthand (containing the card panel in a table):
<pre><nowiki>
{| class="wikitable"
| {{Card panel|Abbot of Keral Keep}}
|}
</nowiki></pre>
Produces:
{| class="wikitable" style="width: 320px;"
| {{Card panel|Abbot of Keral Keep}}
|}
</noinclude><includeonly><div id="Card_Panel_{{{!}}}" style="width: 277px; margin: 0 auto;">
[[File:{{{1}}}.png]]
<span style="text-align:left; float:left">'''<!--
-->[https://mtgpq.info/cards/{{#replace:{{#replace:{{#replace:{{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}|'|}}|,|}}| |}}{{#if:{{#pos:{{Card data: {{{1}}}|7}}|Saga}}|I}} {{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}]'''</span><!--
--> <span style="text-align:right; float:right">{{Rarity icon lineup|{{Card data: {{{1}}}|3}}}}</span><br>
[[{{Set expand|{{Card data: {{{1}}}|2}}}}]] {{SetSymbol|{{Card data: {{{1}}}|2}}}}<br>
{{Card data: {{{1}}}|5}} mana '''·'''
{{{{Card data: {{{1}}}|6}}s}} ({{Card data: {{{1}}}|8}}) '''·'''
{{Color Icons|{{Card data: {{{1}}}|4}}}}
</div></includeonly>