User:Yandere-sliver/sandbox: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
No edit summary
Line 1: Line 1:
<includeonly>{{!}}-
<includeonly>{{!}}-
{{!}}{{#ifeq:{{{1}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{{1}}}|[}}|0|{{{1}}}|{{#switch:{{lc:{{{type}}}}}|user={{{1}}}|commander=[[{{{1}}}]]|#default=[[{{#if:{{{1}}}|{{{page name|{{PAGENAME}}}}}/{{#switch:{{lc:{{{display type}}}}}|iconic=Theme|#default={{ucfirst:{{lc:{{{display type}}}}}}}}} {{#if:{{{plural}}}|{{#switch:{{lc:{{{display type}}}}}|intro=packs|clash=pack|decks}}#{{{1}}}|{{#switch:{{lc:{{{display type}}}}}|intro|clash=pack|deck}}}}|{{{1}}}}}|{{{1}}}]]}}}}'''}}
{{!}}{{#ifeq:{{{1}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{{1}}}|[}}|0|{{{1}}}|{{#switch:{{lc:{{{type}}}}}|user={{{1}}}|commander=[[{{{1}}}]]|#default=[[{{#if:{{{1}}}|{{{page name|{{PAGENAME}}}}}/{{#switch:{{lc:{{{display type}}}}}|iconic=Theme|#default={{ucfirst:{{lc:{{{display type}}}}}}}}} {{#if:{{{plural}}}|{{#switch:{{lc:{{{display type}}}}}|intro=packs|clash=pack|decks}}#{{{1}}}|{{#switch:{{lc:{{{display type}}}}}|intro|clash=pack|deck}}}}|{{{1}}}}}|{{{1}}}]]}}}}'''}}
{{Color row|{{{2}}}}}{{#switch:{{lc:{{{type}}}}}|intro|commander|planeswalker|iconic={{!}}{{!}}<c>{{#explode:{{{3}}}|%0A|1}}</c>xyz|user={{!}}{{!}}{{{3}}}|<!-- -->}}</includeonly><noinclude>
{{Color row|{{{2}}}}}{{#switch:{{lc:{{{type}}}}}|intro|commander|planeswalker|iconic={{!}}{{!}}<c>{{#explode:{{{3}}}|%0A|0}}</c>xyz|user={{!}}{{!}}{{{3}}}|<!-- -->}}</includeonly><noinclude>
This template is meant to make [[Template:Decks]] more compact.
This template is meant to make [[Template:Decks]] more compact.
<noinclude>
<noinclude>

Revision as of 00:33, 19 July 2018

This template is meant to make Template:Decks more compact.