Difference between revisions of "Template:Card URL"
(Created page with "<noinclude> == Usage == Converts a card name to a link to the card on mtgpq.info. The only parameter is the name of the card. == Example == The following shorthand (contain...") |
|||
Line 16: | Line 16: | ||
{{Card URL|Abbot of Keral Keep}} | {{Card URL|Abbot of Keral Keep}} | ||
− | </noinclude><includeonly>[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}} {{ | + | </noinclude><includeonly>[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}} {{{1}}}]</includeonly> |
Revision as of 07:44, 6 March 2019
Usage
Converts a card name to a link to the card on mtgpq.info.
The only parameter is the name of the card.
Example
The following shorthand (containing the card panel in a table):
{{Card URL|Abbot of Keral Keep}}
Produces: