Difference between revisions of "Template:Card Set List Row"
| (3 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
-->{{Card Set List Row|Crush of Tentacles}}<!-- | -->{{Card Set List Row|Crush of Tentacles}}<!-- | ||
-->{{Card Set List Row|Time of Ice}}<!-- | -->{{Card Set List Row|Time of Ice}}<!-- | ||
| − | -->{{Card Set List Row|Storm the Vault}} | + | -->{{Card Set List Row|Storm the Vault}}<!-- |
| + | -->{{Card Set List Row|Storm the Vault//Vault of Catlacan}}<!-- | ||
| + | -->{{Card Set List Row|Beanstalk Giant//Fertile Footsteps}} | ||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 25: | Line 27: | ||
-->{{Card Set List Row|Crush of Tentacles}}<!-- | -->{{Card Set List Row|Crush of Tentacles}}<!-- | ||
-->{{Card Set List Row|Time of Ice}}<!-- | -->{{Card Set List Row|Time of Ice}}<!-- | ||
| − | -->{{Card Set List Row|Storm the Vault}} | + | -->{{Card Set List Row|Storm the Vault}}<!-- |
| + | -->{{Card Set List Row|Storm the Vault//Vault of Catlacan}}<!-- | ||
| + | -->{{Card Set List Row|Beanstalk Giant//Fertile Footsteps}} | ||
|} | |} | ||
</noinclude><includeonly>{{#if:{{{1|}}}| | </noinclude><includeonly>{{#if:{{{1|}}}| | ||
{{!}}- | {{!}}- | ||
| − | {{!}} | + | {{!}} {{Card URL|{{Trim|{{{1}}}}}}} <!--Name--> |
{{#ifexist: Template:Card data: {{{1}}}|<!-- | {{#ifexist: Template:Card data: {{{1}}}|<!-- | ||
| − | -->{{!}} {{{{Card data: {{{1}}}|6}}s}}<!-- | + | -->{{!}} {{{{#explode:{{Card data: {{{1}}}|6}}|,|0}}s}}<!--Type |
| − | -->{{# | + | -->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|,}}|//{{{{#explode:{{Card data: {{{1}}}|6}}|,|1}}s}}}}<!-- |
| − | -->{{# | + | -->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|Creature}}| ({{Card data: {{{1}}}|8}})|<!-- |
| − | {{!}} ''<small>{{#replace:{{Card data: {{{1}}}|7}}|,|, }}</small>'' | + | -->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|Support}}| ({{Card data: {{{1}}}|9}})}}}} |
| − | {{!}} {{Card data: {{{1}}}|5}} | + | {{!}} ''<small>{{#replace:{{Card data: {{{1}}}|7}}|,|, }}</small>'' <!--Subtypes--> |
| − | {{!}} {{Color Icons|{{Card data: {{{1}}}|4}}}} <!--Color--> | + | {{!}} {{#replace:{{Card data: {{{1}}}|5}}|,|//}} <!--Cost--> |
| − | {{!}} {{Rarity|{{Card data: {{{1}}}|3}}}} | + | {{!}} {{Color Icons|{{Card data: {{{1}}}|4}}}} <!--Color--> |
| + | {{!}} {{Rarity|{{Card data: {{{1}}}|3}}}} <!--Rarity--> | ||
|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> | |{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> | ||
Latest revision as of 02:49, 23 February 2020
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}}<!--
-->{{Card Set List Row|Beanstalk Giant//Fertile Footsteps}}
|}
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 | ||||
| Beanstalk Giant//Fertile Footsteps | Giant | 12//11 |