No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
===Parameters=== |
===Parameters=== |
||
− | *<code>{{{1}}}</code>: the official 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>{{{#}}}</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>{{{title}}}</code>: Optional - It the text displayed should be somehow different from the card title. |
||
− | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 65: | Line 45: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
+ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Revision as of 20:44, 27 September 2020
This is a documentation subpage for Template:Card. It contains usage information, categories and other content that is not part of the original template page. |
This template can be used within another template to link to a card passed as a parameter.
{{card|card name|edition|scryfall set code|#=collector number}}
Parameters
Creates an external link to a specific card on Scryfall.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the card
| String | required |
Set (optional) | 2 | The name of the set the card appeared in. If omitted, the latest print is used.
| String | suggested |
Set Code (optional) | 3 | The set's code as it appears on Scryfall
| String | optional |
Display name (optional) | title | Override the card name with custom text; useful for Godzilla cards
| String | optional |
Collector number (optional) | # | The collector number as it appears on Scryfall; usefull for choosing a card with specific art
| String | optional |
Examples
- {{card|Jace Beleren}}
- {{card|Jace Beleren|Lorwyn}}
- {{card|Jace Beleren|Promo|PDD2}}
- {{card|Jace Beleren||PBOK}}
- {{card|Golgari Guildgate|Guilds of Ravnica|#=248}}
{{card|Golgari Guildgate|Guilds of Ravnica|#=249}}- Golgari Guildgate (Guilds of Ravnica, #248)
- Golgari Guildgate (Guilds of Ravnica, #249)
- {{card|Black Lotus|title=a lotus which is black}}