Template:Card: Difference between revisions
(Handling for cards with titles that match another card's subtitle) |
(docs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:1|2}} | {{#template_params:1|2}} | ||
Parameter 1 should refer to the card. Usually this can just be the card name: ''<nowiki>{{Card|The One Ring, The Ruling Ring}}</nowiki>'' or ''<nowiki>{{Card|The One Ring, The Ruling Ring}}</nowiki>'' produce {{Card|The One Ring, The Ruling Ring}}. If you want to link to a different version of the same card, you can use the card's collector number: ''<nowiki>{{Card|4C2}}</nowiki>'' produces {{Card|4C2}}. If that doesn't work, you can instead use the "Wiki Base Card ID" parameter, found in each card page's infobox under "Technical Info". For example, using ''<nowiki>{{Card|LOTR-EN15E060.0}}</nowiki>'' is currently the only working way to link to {{Card|LOTR-EN15G060.0}}. | |||
</noinclude><includeonly>{{#if:{{#pos:{{{1}}}|0}}{{#pos:{{{1}}}|1}}{{#pos:{{{1}}}|2}}{{#pos:{{{1}}}|3}}{{#pos:{{{1}}}|4}}{{#pos:{{{1}}}|5}}{{#pos:{{{1}}}|6}}{{#pos:{{{1}}}|7}}{{#pos:{{{1}}}|8}}{{#pos:{{{1}}}|9}}|{{#cargo_query: | </noinclude><includeonly>{{#if:{{#pos:{{{1}}}|0}}{{#pos:{{{1}}}|1}}{{#pos:{{{1}}}|2}}{{#pos:{{{1}}}|3}}{{#pos:{{{1}}}|4}}{{#pos:{{{1}}}|5}}{{#pos:{{{1}}}|6}}{{#pos:{{{1}}}|7}}{{#pos:{{{1}}}|8}}{{#pos:{{{1}}}|9}}|{{#cargo_query: | ||
tables=Cards=C,CardReleases=CR,CardReleases=ECR | tables=Cards=C,CardReleases=CR,CardReleases=ECR |
Revision as of 09:04, 2 January 2022
This is the "Card" template.
It should be called in the following format:
{{Card |1= |2= }}
Edit the page to see the template text.
Parameter 1 should refer to the card. Usually this can just be the card name: {{Card|The One Ring, The Ruling Ring}} or {{Card|The One Ring, The Ruling Ring}} produce The One Ring, The Ruling Ring (1C2) . If you want to link to a different version of the same card, you can use the card's collector number: {{Card|4C2}} produces The One Ring, The Ruling Ring (4C2) . If that doesn't work, you can instead use the "Wiki Base Card ID" parameter, found in each card page's infobox under "Technical Info". For example, using {{Card|LOTR-EN15E060.0}} is currently the only working way to link to Forth the Three Hunters! (15C60) .