User:Yandere-sliver/sandbox: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
(Replaced content with "<c title="title">card|edition</c>")
Line 1: Line 1:
<includeonly>{{#tag:c|{{{1}}}|set={{#if:{{{2|}}}|{{{3|{{Code by set|{{{2|}}}}}}}}|{{#if:{{{3|}}}|{{{3|}}}}}}}|title={{{1}}}}}{{#if:{{{2|}}}|&#32;(''{{#if:{{{3|}}}|[[{{{2|}}}]]|[[{{Set by code|{{Code by set|{{{2|}}}}}}}|{{{2|}}}]]}}'')}}</includeonly><noinclude>==Usage==
<c title="title">card|edition</c>
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>
 
===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.
 
===Examples===
# <nowiki>{{cardlink|Jace Beleren}}</nowiki>
#* {{User:Yanderesliver/sandbox|Jace Beleren}}
# <nowiki>{{cardlink|Jace Beleren|Lorwyn}}</nowiki>
#* {{User:Yanderesliver/sandbox|Jace Beleren|Lorwyn}}
# <nowiki>{{cardlink|Jace Beleren|Promo|PDD2}}</nowiki>
#* {{User:Yanderesliver/sandbox|Jace Beleren|Promo|PDD2}}
# <nowiki>{{cardlink|Jace Beleren||PBOK}}</nowiki>
#* {{User:Yanderesliver/sandbox|Jace Beleren||PBOK}}

Revision as of 02:03, 18 March 2019