Template:Card: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>WGnome
(added option to use template only with set code, rather than name -- see new documentation)
>Yandere-sliver
No edit summary
Line 6: Line 6:
===Parameters===
===Parameters===
*<code>{{{1}}}</code>: the official card name.
*<code>{{{1}}}</code>: the official card name.
*<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. If left blank, there will be no following link to the article.
*<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.  



Revision as of 16:19, 25 August 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}}

Parameters

  • {{{1}}}: the official card name.
  • {{{2}}}: Optional - the edition to be used. Also shown after the card name. If left blank, there will be no following link to the article.
  • {{{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.

Examples

  1. {{cardlink|Jace Beleren}}
  2. {{cardlink|Jace Beleren|Lorwyn}}
  3. {{cardlink|Jace Beleren|Promo|PDD2}}
  4. {{cardlink|Jace Beleren||M10}}