User:Yandere-sliver/sandbox3: Difference between revisions
Jump to navigation
Jump to search
>Yandere-sliver No edit summary |
>Yandere-sliver No edit summary |
||
Line 5: | Line 5: | ||
|sub3=sandbox3 | |sub3=sandbox3 | ||
}}</noinclude> | }}</noinclude> | ||
<includeonly>{{#if:{{{1|}}}|[https://scryfall.com/search?q=<!-- | |||
-->{{#if:{{{2|}}}|{{{2|}}}%3A}}<!-- adds the search type if given | |||
-->{{#ifeq:{{{2|}}}|is<!-- if the search type is "is", skip the quotations | |||
-->|{{#replace:{{{1|}}}| |+}}<!-- | |||
-->|{{urlencode:{{{enclose|"}}}}}{{#replace:{{{1|}}}| |+}}{{urlencode:{{{enclose|"}}}}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{color|}}}|+color%3D{{{color|}}}}}<!-- additional exact color | |||
-->{{#if:{{{add|}}}|+{{urlencode:{{{add|}}}|PATH}}}} <!-- additional search options that automatically will be url encoded. | |||
-->{{#if:{{{display|}}}<!-- if you want to display something different then the search phrase | |||
-->|{{#replace:{{{display|}}}|]|]}}<!-- closing bracket is escaped do avoid issue with the wiki formatting. | |||
-->|{{#if:{{{2|}}}<!-- | |||
-->|{{{2|}}}:{{#ifeq:{{{2|}}}|is<!-- again if the search type is "is", skip the quotations | |||
-->|{{#replace:{{{1|}}}|]|]}}<!-- | |||
-->|{{urlencode:{{{enclose|"}}}}}{{#replace:{{{1|}}}|]|]}}{{urlencode:{{{enclose|"}}}}}}}<!-- | |||
-->|{{{1|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->]}}{{#if:{{{date|}}}|. Retrieved from Scryfall on {{{date|}}}.}}</includeonly> |