Difference between revisions of "Template:Card Set List Row"
| Line 32: | Line 32: | ||
</noinclude><includeonly>{{#if:{{{1|}}}| | </noinclude><includeonly>{{#if:{{{1|}}}| | ||
{{!}}- | {{!}}- | ||
| − | {{!}} {{Card URL|{{{1}}}}} <!--Name--> | + | {{!}} {{Card URL|{{Trim|{{{1}}}}}}} <!--Name--> |
{{#ifexist: Template:Card data: {{{1}}}|<!-- | {{#ifexist: Template:Card data: {{{1}}}|<!-- | ||
-->{{!}} {{{{Card data: {{{1}}}|6}}s}}<!-- Type with (P/T) or (shields) | -->{{!}} {{{{Card data: {{{1}}}|6}}s}}<!-- Type with (P/T) or (shields) | ||
Revision as of 07:48, 6 March 2019
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:
{| class="wikitable"
!Card name || Type || Subtypes || 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}}<!--
-->{{Card Set List Row|Storm the Vault//Vault of Catlacan}}
|}
Produces:
| Card name | Type | Subtypes | Cost | Color | Rarity |
|---|---|---|---|---|---|
| Zetalpa, Primal Dawn | Dinosaur, Elder | 19 | |||
| Crush of Tentacles | 21 | ||||
| Time of Ice | Saga | 18 | |||
| Storm the Vault | 11 | ||||
| Storm the Vault//Vault of Catlacan | 11 |