MTG Wiki
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[https://scryfall.com/search?q={{#if:{{{2|}}}|{{{2|}}}%3A}}%22{{#replace:{{{1|}}}| |+}}%22 {{#if:{{{2|}}}|{{{2|}}}:"{{#replace:{{{1|}}}|]|&#93;}}"|{{{1|}}}}}]}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{1|}}}|[https://scryfall.com/search?q={{#if:{{{2|}}}|{{{2|}}}%3A}}%22{{#replace:{{{1|}}}| |+}}%22 {{#if:{{{display|}}}|{{#replace:{{{display|}}}|]|&#93;}}|{{#if:{{{2|}}}|{{{2|}}}:"{{#replace:{{{1|}}}|]|&#93;}}"|{{{1|}}}}}}}]}}</includeonly><noinclude>
 
==Parameters==
 
==Parameters==
*<code>{{{1}}}</code>: the search phrase.
+
*<code>{{{1}}}</code>: Search phrase
*<code>{{{2}}}</code>: search type (watermark, lore, fulloracle, artist, etc.)
+
*<code>{{{2}}}</code>: Search type (watermark, lore, fulloracle, artist, etc.)
  +
*<code>{{{display}}}</code>: If another thing then the search phrase should be displayed
 
==Examples==
 
==Examples==
 
*<nowiki>{{Scryfall search|Circle of Protection}}</nowiki> - {{Scryfall search|Circle of Protection}}
 
*<nowiki>{{Scryfall search|Circle of Protection}}</nowiki> - {{Scryfall search|Circle of Protection}}
 
*<nowiki>{{Scryfall search|Dimir|watermark}}</nowiki> - {{Scryfall search|Dimir|watermark}}
 
*<nowiki>{{Scryfall search|Dimir|watermark}}</nowiki> - {{Scryfall search|Dimir|watermark}}
  +
*<nowiki>{{Scryfall search|Dimir|watermark|display=[Just Dimir]}}</nowiki> - {{Scryfall search|Dimir|watermark|display=[Just Dimir]}}
   
 
[[Category:Magic product templates]]</noinclude>
 
[[Category:Magic product templates]]</noinclude>

Revision as of 18:05, 17 May 2019

Parameters

  • {{{1}}}: Search phrase
  • {{{2}}}: Search type (watermark, lore, fulloracle, artist, etc.)
  • {{{display}}}: If another thing then the search phrase should be displayed

Examples