Open main menu

mtgpq wiki β

Changes

Template:Card Set List Row

1,715 bytes added, 06:18, 26 February 2019
Created page with "<noinclude> ==Usage== A row in Template:Card_Set_List. The only parameter is the card name. A missing card name causes the template to produce no output. ==Example== T..."
<noinclude>
==Usage==
A row in [[Template:Card_Set_List]].

The only parameter is the card name. A missing card name causes the template to produce no output.

==Example==

The following shorthand:
<pre><nowiki>
{| class="wikitable"
!Card name || Type || Cost || Color || Rarity<!--
-->{{Card Set List Row|Zetalpa, Primal Dawn}}<!--
-->{{Card Set List Row|Crush of Tentacles}}<!--
-->{{Card Set List Row|Time of Ice}}<!--
-->{{Card Set List Row|Storm the Vault}}
|}
</nowiki></pre>

Produces:

{| class="wikitable"
!Card name || Type || Cost || Color || Rarity<!--
-->{{Card Set List Row|Zetalpa, Primal Dawn}}<!--
-->{{Card Set List Row|Crush of Tentacles}}<!--
-->{{Card Set List Row|Time of Ice}}<!--
-->{{Card Set List Row|Storm the Vault}}
|}

</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
{{!}}-
{{!}} [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}}}}] <!--Name-->
{{#ifexist: Template:Card data: {{{1}}}|<!--
-->{{!}} {{{{Card data: {{{1}}}|6}}s}}<!-- Type with (P/T) or (shields)
-->{{#ifeq:{{Card data: {{{1}}}|6}}|Creature| &nbsp;({{Card data: {{{1}}}|8}})|<!--
-->{{#ifeq:{{Card data: {{{1}}}|6}}|Support| &nbsp;({{Card data: {{{1}}}|9}})}}}}
{{!}} {{Card data: {{{1}}}|5}} <!--Cost-->
{{!}} {{Color Icons|{{Card data: {{{1}}}|4}}}} <!--Color-->
{{!}} {{Rarity|{{Card data: {{{1}}}|3}}}} <!--Rarity-->
|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly>