Template:Card: Difference between revisions
Jump to navigation
Jump to search
>Yandere-sliver No edit summary |
>Yandere-sliver No edit summary |
||
Line 2: | Line 2: | ||
This template can be used within another template to link to a card passed as a parameter. | This template can be used within another template to link to a card passed as a parameter. | ||
:<code><nowiki>{{cardlink|card name|edition|scryfall set code}}</nowiki></code> | :<code><nowiki>{{cardlink|card name|edition|scryfall set code|#=collector number}}</nowiki></code> | ||
===Parameters=== | ===Parameters=== | ||
Line 8: | Line 8: | ||
*<code>{{{2}}}</code>: Optional - the edition to be used. Also shown after the card name. | *<code>{{{2}}}</code>: Optional - the edition to be used. Also shown after the card name. | ||
*<code>{{{3}}}</code>: Optional - [https://scryfall.com Scryfall] set code. Only needed for special releases like media Inserts of FNM promos. Use third parameter while leaving second parameter blank to avoid having the edition shown in parentheses after the card name. | *<code>{{{3}}}</code>: Optional - [https://scryfall.com Scryfall] set code. Only needed for special releases like media Inserts of FNM promos. Use third parameter while leaving second parameter blank to avoid having the edition shown in parentheses after the card name. | ||
*<code>{{{#}}}</code>: Optional - the collector number of a specific card, if multiple cards in the same set have the same name, e.g. basic lands. | *<code>{{{#}}}</code>: Optional - the [[collector number]] of a specific card, if multiple cards in the same set have the same name, e.g. basic lands. | ||
===Examples=== | ===Examples=== |
Revision as of 01:02, 11 October 2018
Usage
This template can be used within another template to link to a card passed as a parameter.
{{cardlink|card name|edition|scryfall set code|#=collector number}}
Parameters
{{{1}}}
: the official card name.{{{2}}}
: Optional - the edition to be used. Also shown after the card name.{{{3}}}
: Optional - Scryfall set code. Only needed for special releases like media Inserts of FNM promos. Use third parameter while leaving second parameter blank to avoid having the edition shown in parentheses after the card name.{{{#}}}
: Optional - the collector number of a specific card, if multiple cards in the same set have the same name, e.g. basic lands.
Examples
- {{cardlink|Jace Beleren}}
- {{cardlink|Jace Beleren|Lorwyn}}
- {{cardlink|Jace Beleren|Promo|PDD2}}
- {{cardlink|Jace Beleren||PBOK}}
- {{cardlink|Golgari Guildgate|Guilds of Ravnica|#=248}}