Difference between revisions of "Template:Deck List Row"
Line 18: | Line 18: | ||
</noinclude><includeonly>{{#if:{{{1|}}}| | </noinclude><includeonly>{{#if:{{{1|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}} [https://mtgpq.info/cards/{{#replace:{{#replace:{{#replace:{{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/| | + | {{!}} [https://mtgpq.info/cards/{{#replace:{{#replace:{{#replace:{{#if:{{#pos:{{Card data: {{{1}}}|1}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}|'|}}|,|}}| |}} {{Card data: {{{1}}}|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 08:31, 16 February 2019
Usage
A row in Template:Deck_List.
The only parameter is the card name. A missing card name produces no output.
Example
This mark-up:
{{Deck List Row|Zetalpa, Primal Dawn}}
Produces:
|- | Zetalpa, Primal Dawn | (4/8) | 19 | | | RIX