(try more variables) |
mNo edit summary Tag: Source edit |
||
(58 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{| class="wikitable" |
+ | <includeonly>{| class="wikitable" |
− | + | !rowspan="2" | {{#switch:{{lc:{{{1}}}}}|anthology|commander|iconic=Theme|#default={{ucfirst:{{lc:{{{1}}}}}}}}} {{#switch:{{lc:{{{1}}}}}|guild=Kit|intro=pack|clash=pack<br/>deck|#default=<br/>deck}} name |
|
− | + | !colspan="5"| {{#switch:{{lc:{{{1}}}}}|brawl|anthology|commander=Color Identity|#default=Colors Included}} |
|
− | {{#switch:{{lc:{{{ |
+ | {{#switch:{{lc:{{{type|{{{1}}}}}}}} |
+ | |intro= !rowspan{{=}}"2"{{!}} Foil rare |
||
− | |- |
||
+ | |brawl|anthology|commander=!rowspan{{=}}"2"{{!}} Commander |
||
⚫ | |||
+ | |planeswalker= !rowspan{{=}}"2"{{!}} Planeswalker |
||
⚫ | |||
+ | |iconic= !rowspan{{=}}"2"{{!}} Iconic card |
||
⚫ | |||
+ | |user= !rowspan{{=}}"2"{{!}} Notes |
||
⚫ | |||
⚫ | |||
− | |- |
||
− | | {{#ifeq:{{{2}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{{2}}}|[}}|0|{{{2}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{2}}}|[[{{#if:{{#ifexist:{{{2}}}|{{Redirect target|{{{2}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#if:{{{5|}}}|{{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}#{{{2}}}|{{#switch:{{lc:{{{1}}}}}|intro|clash=pack|deck}}}}|{{{2}}}}}|{{{2}}}]]}}}}'''}} |
||
− | |{{#if: {{#pos:{{#vardefineecho:deckscolor|{{uc:{{{3}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
− | |{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color:blue;"{{!}} U}} |
||
− | |{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
− | |{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
− | |{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{#switch:{{lc:{{{1}}}}}|intro|commander= {{!}} {{cardlink|{{{4}}}}}|user= {{!}} {{{4}}}}} {{#vardefine:deckslink|{{#switch:{{lc:{{{1}}}}}|intro|commander|user=yes}}}} |
||
− | |- |
||
− | {{#if: {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}| |
||
− | {{!}} {{#ifeq: {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{#switch:{{lc:{{{1}}}}}|intro|commander|user={{{5|}}}|{{{4|}}}}}|[}}|0|{{#switch:{{lc:{{{1}}}}}|intro|commander|user={{{5|}}}|{{{4|}}}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{5|}}}|[[{{#if:{{#ifexist: {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}|{{Redirect target| {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}# {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}| {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}}}| {{#if:{{#var:deckslink}}|{{{5|}}}|{{{4|}}}}}]]}}}}'''}} |
||
− | {{!}}{{#if: {{#pos:{{#vardefineecho:deckscolor|{{#uc:{{#if:{{#var:deckslink}}|{{{6|}}}|{{{5|}}}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color: blue;"{{!}} U}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{#switch:{{lc:{{{1}}}}}|intro|commander= {{!}} {{cardlink|{{{7}}}}}|user= {{!}} {{{7}}}}} |
||
}} |
}} |
||
− | + | |- |
|
⚫ | |||
− | {{#if: {{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}| |
||
⚫ | |||
− | {{!}} {{#ifeq:{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}|[}}|0|{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{8|}}}|[[{{#if:{{#ifexist:{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}|{{Redirect target|{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}#{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}|{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}}}|{{#if:{{#var:deckslink}}|{{{8|}}}|{{{6|}}}}}]]}}}}'''}} |
||
⚫ | |||
− | {{!}}{{#if: {{#pos:{{#vardefineecho:deckscolor|{{#uc:{{#if:{{#var:deckslink}}|{{{9|}}}|{{{7|}}}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
⚫ | |||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color: blue;"{{!}} U}} |
||
⚫ | |||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
+ | {{Decks/row|{{{2}}}|{{{3}}}|{{{4}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
+ | {{#switch:{{lc:{{{type|{{{1}}}}}}}}|intro|brawl|anthology|commander|planeswalker|iconic|user= |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{# |
+ | {{#if:{{{5|}}} |{{Decks/row|{{{5}}} |{{{6}}} |{{{7}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
+ | {{#if:{{{8|}}} |{{Decks/row|{{{8}}} |{{{9}}} |{{{10}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{11|}}}|{{Decks/row|{{{11}}}|{{{12}}}|{{{13}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{14|}}}|{{Decks/row|{{{14}}}|{{{15}}}|{{{16}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{17|}}}|{{Decks/row|{{{17}}}|{{{18}}}|{{{19}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{20|}}}|{{Decks/row|{{{20}}}|{{{21}}}|{{{22}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{23|}}}|{{Decks/row|{{{23}}}|{{{24}}}|{{{25}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{26|}}}|{{Decks/row|{{{26}}}|{{{27}}}|{{{28}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{29|}}}|{{Decks/row|{{{29}}}|{{{30}}}|{{{31}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{32|}}}|{{Decks/row|{{{32}}}|{{{33}}}|{{{34}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{35|}}}|{{Decks/row|{{{35}}}|{{{36}}}|{{{37}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{38|}}}|{{Decks/row|{{{38}}}|{{{39}}}|{{{40}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | |#default= |
||
+ | {{#if:{{{4|}}} |{{Decks/row|{{{4}}} |{{{5}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{6|}}} |{{Decks/row|{{{6}}} |{{{7}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{8|}}} |{{Decks/row|{{{8}}} |{{{9}}} |display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{10|}}}|{{Decks/row|{{{10}}}|{{{11}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{12|}}}|{{Decks/row|{{{12}}}|{{{13}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{14|}}}|{{Decks/row|{{{14}}}|{{{15}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{16|}}}|{{Decks/row|{{{16}}}|{{{17}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{18|}}}|{{Decks/row|{{{18}}}|{{{19}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{20|}}}|{{Decks/row|{{{20}}}|{{{21}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{22|}}}|{{Decks/row|{{{22}}}|{{{23}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{24|}}}|{{Decks/row|{{{24}}}|{{{25}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
+ | {{#if:{{{26|}}}|{{Decks/row|{{{26}}}|{{{27}}}|display type={{{1}}}|type={{{type|{{{1}}}}}}|plural={{{5|}}}|page name={{{page name|}}}}}}} |
||
}} |
}} |
||
+ | |}</includeonly><noinclude>{{Documentation}} |
||
− | |- |
||
⚫ | |||
− | {{#if: {{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}| |
||
+ | <noinclude> |
||
− | {{!}} {{#ifeq:{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}|[}}|0|{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{11|}}}|[[{{#if:{{#ifexist:{{#switch:{{lc:{{{1}}}}}|intro|commander-{{{11}}}|{{{8}}}}}|{{Redirect target|{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}#{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}|{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}}}|{{#if:{{#var:deckslink}}|{{{11|}}}|{{{8|}}}}}]]}}}}'''}} |
||
− | {{!}}{{#if: {{#pos:{{#vardefineecho:deckscolor|{{#uc:{{#if:{{#var:deckslink}}|{{{12|}}}|{{{9|}}}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color: blue;"{{!}} U}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{#switch:{{lc:{{{1}}}}}|intro|commander= {{!}} {{cardlink|{{{13}}}}}|user= {{!}} {{{13}}}}} |
||
− | }} |
||
− | |- |
||
− | {{#if: {{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}| |
||
− | {{!}} {{#ifeq:{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}|[}}|0|{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{14|}}}|[[{{#if:{{#ifexist:{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}|{{Redirect target|{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}#{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}|{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}}}|{{#if:{{#var:deckslink}}|{{{14|}}}|{{{10|}}}}}]]}}}}'''}} |
||
− | {{!}}{{#if: {{#pos:{{#vardefineecho:deckscolor|{{#uc:{{#if:{{#var:deckslink}}|{{{15|}}}|{{{11|}}}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color: blue;"{{!}} U}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{#switch:{{lc:{{{1}}}}}|intro|commander= {{!}} {{cardlink|{{{16}}}}}|user= {{!}} {{{16}}}}} |
||
− | }} |
||
− | |- |
||
− | {{#if: {{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}| |
||
− | {{!}} {{#ifeq:{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}|unknown|''Unknown''|'''{{#ifeq:{{#pos:{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}|[}}|0|{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}|{{#ifeq:{{lc:{{{1}}}}}|user|{{{17|}}}|[[{{#if:{{#ifexist:{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}|{{Redirect target|{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}}}|true}}|{{{page name|{{PAGENAME}}}}}/{{ucfirst:{{lc:{{{1}}}}}}} {{#switch:{{lc:{{{1}}}}}|intro=packs|clash=pack|decks}}#{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}|{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}}}|{{#if:{{#var:deckslink}}|{{{17|}}}|{{{12|}}}}}]]}}}}'''}} |
||
− | {{!}}{{#if: {{#pos:{{#vardefineecho:deckscolor|{{#uc:{{#if:{{#var:deckslink}}|{{{18|}}}|{{{13|}}}}}}}}}|W}} |align="center" style="background-color: #FFFF66; color: #FFFF66;"{{!}} W}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|U}} |align="center" style="background-color: blue; color: blue;"{{!}} U}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|B}} |align="center" style="background-color: black; color: black;"{{!}} B}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|R}} |align="center" style="background-color: red; color: red;"{{!}} R}} |
||
− | {{!}}{{#if: {{#pos:{{#var:deckscolor}}|G}} |align="center" style="background-color: green; color: green;"{{!}} G}} |
||
− | {{#switch:{{lc:{{{1}}}}}|intro|commander= {{!}} {{cardlink|{{{19}}}}}|user= {{!}} {{{19}}}}} |
||
− | }} |
||
− | |}</includeonly><noinclude>This template produces a list of decks, e.g. intro packs, event decks, or theme decks. |
||
− | |||
− | == Template usage == |
||
− | |||
− | * Supports a maximum of six decks. |
||
− | * The first parameter specifies the type of deck. It must be <code>intro</code> for intro packs and <code>commander</code> for Commander theme decks. Other deck types, like <code>event</code> or <code>theme</code>, are also supported. User pages may use <code>user</code>, to disable the automatic deck name linking and add a column for notes. |
||
− | * For each deck, there are two or three required parameters, depending on deck type: |
||
− | ** The deck name. Use <code>unknown</code> if not yet announced. Link syntax (<code><nowiki>[[Link|Deck name]]</nowiki></code>) can be used to override the default link. |
||
− | ** The decks colors, e.g. <code>WUBRG</code> or <code>C</code>. |
||
− | ** In <code>intro</code>, <code>commander</code>, and <code>user</code> mode, there is a third required parameter: |
||
− | *** For intro packs, the name of the foil rare card. Do not surround with <code><nowiki><c></c></nowiki></code>. |
||
− | *** For Commander theme decks, the name of the primary commander. Do not surround with <code><nowiki><c></c></nowiki></code>. |
||
− | *** For user decks, any deck notes. |
||
− | * The optional parameter <code>{{{page name}}}</code> can be used to change where the deck names will link to (they will link to a section on a subpage of <code>{{{page name}}}</code> depending on deck type). It defaults to the name of the page where it is used. |
||
− | |||
− | == Examples == |
||
− | |||
− | <pre> |
||
− | {{Decks|intro |
||
− | |page name=Shards of Alara |
||
− | |Bant Exalted|GWU|Battlegrace Angel |
||
− | |Esper Artifice|WUB|Master of Etherium |
||
− | |Grixis Undead|UBR|Vein Drinker |
||
− | |Primordial Jund|BRG|Flameblast Dragon |
||
− | |Naya Behemoths|RGW|Spearbreaker Behemoth |
||
− | }} |
||
− | </pre> |
||
− | |||
− | {{Decks|intro |
||
− | |page name=Shards of Alara |
||
− | |Bant Exalted|GWU|Battlegrace Angel |
||
− | |Esper Artifice|WUB|Master of Etherium |
||
− | |Grixis Undead|UBR|Vein Drinker |
||
− | |Primordial Jund|BRG|Flameblast Dragon |
||
− | |Naya Behemoths|RGW|Spearbreaker Behemoth |
||
− | }} |
||
− | |||
− | <pre> |
||
− | {{Decks|event |
||
− | |page name=Mirrodin Besieged |
||
− | |Infect and Defile|UB |
||
− | |Into the Breach|R |
||
− | }} |
||
− | </pre> |
||
− | |||
− | {{Decks|event |
||
− | |page name=Mirrodin Besieged |
||
− | |Infect and Defile|UB |
||
− | |Into the Breach|R |
||
− | }} |
||
− | |||
− | <pre> |
||
− | {{Decks|theme |
||
− | |page name=10th Edition |
||
− | |Arcanis's Guile|U |
||
− | |Cho-Manno's Resolve|W |
||
− | |Evincar's Tyranny|B |
||
− | |Kamahl's Temper|R |
||
− | |Molimo's Might|G |
||
− | }} |
||
− | </pre> |
||
− | |||
− | {{Decks|theme |
||
− | |page name=10th Edition |
||
− | |Arcanis's Guile|U |
||
− | |Cho-Manno's Resolve|W |
||
− | |Evincar's Tyranny|B |
||
− | |Kamahl's Temper|R |
||
− | |Molimo's Might|G |
||
− | }} |
||
− | |||
− | <pre> |
||
− | {{Decks|commander |
||
− | |Call the Spirits|WB|Daxos the Returned |
||
− | |Seize Control|UR|Mizzix of the Izmagnus |
||
− | |Plunder the Graves|BG|Meren of Clan Nel Toth |
||
− | |Wade into Battle|RW|Kalemne, Disciple of Iroas |
||
− | |Swell the Host|GU|Ezuri, Claw of Progress |
||
− | }} |
||
− | </pre> |
||
− | |||
− | {{Decks|commander |
||
− | |Call the Spirits|WB|Daxos the Returned |
||
− | |Seize Control|UR|Mizzix of the Izmagnus |
||
− | |Plunder the Graves|BG|Meren of Clan Nel Toth |
||
− | |Wade into Battle|RW|Kalemne, Disciple of Iroas |
||
− | |Swell the Host|GU|Ezuri, Claw of Progress |
||
− | }} |
||
− | |||
− | <pre> |
||
− | {{Decks|clash |
||
− | |page name=Magic Origins |
||
− | |Armed|WG |
||
− | |Dangerous|WBG |
||
− | }} |
||
− | </pre> |
||
− | |||
− | {{Decks|clash |
||
− | |page name=Magic Origins |
||
− | |Armed|WG |
||
− | |Dangerous|WBG |
||
− | }} |
||
− | |||
⚫ |
Latest revision as of 12:22, 29 June 2021
This template produces a list of decks, e.g. intro packs, event decks, or theme decks.
Template usage
- Supports a maximum of 13 decks.
- The first parameter specifies the type of deck. It must be
planeswalker
for Planeswalker decks andcommander
for Commander theme decks. Generic theme decks usetheme
, if theme deck has an iconic card useiconic
. Other deck types, likechallenger
,event
,guild
, orintro
are also supported. User pages may useuser
, to disable the automatic deck name linking and add a column for notes.- To display a different name for the deck type, use the first parameter for the displayed deck type and
{{{type}}}
for the template logic.
- To display a different name for the deck type, use the first parameter for the displayed deck type and
- For each deck, there are two or three required parameters, depending on deck type:
- The deck name. Use
unknown
if not yet announced. Link syntax ([[Link|Deck name]]
) can be used to override the default link. - The deck's colors, e.g.
WUBRG
orC
. - In
planeswalker
,commander
,iconic
,intro
, anduser
mode, there is a third required parameter:- For Planeswalker decks, the name of the Planeswalker. Do not surround with
<c></c>
. - For Commander theme decks, the name of the primary commander. Do not surround with
<c></c>
. - For theme decks with iconic card, the name of the iconic card. Do not surround with
<c></c>
. - For intro packs, the name of the foil rare card. Do not surround with
<c></c>
. - For user decks, any deck notes.
- For Planeswalker decks, the name of the Planeswalker. Do not surround with
- The deck name. Use
- The optional parameter
{{{page name}}}
can be used to change where the deck names will link to (they will link to a section on a subpage of{{{page name}}}
depending on the displayed deck type). It defaults to the name of the page where it is used.
Examples
Theme deck
{{Decks|theme |page name=Tenth Edition |Arcanis's Guile|U |Cho-Manno's Resolve|W |Evincar's Tyranny|B |Kamahl's Temper|R |Molimo's Might|G }}
Theme deck name |
Colors Included | ||||
---|---|---|---|---|---|
Arcanis's Guile | U | ||||
Cho-Manno's Resolve | W | ||||
Evincar's Tyranny | B | ||||
Kamahl's Temper | R | ||||
Molimo's Might | G |
Theme deck with Iconic card
{{Decks|iconic |page name=Archenemy: Nicol Bolas |Nicol Bolas|UBR|Nicol Bolas, Planeswalker |Gideon Jura|W|Gideon Jura |Chandra Nalaar|R|Chandra, Pyromaster |Nissa Revane|GU|Nissa, Worldwaker }}
Theme deck name |
Colors Included | Iconic card | ||||
---|---|---|---|---|---|---|
Nicol Bolas | U | B | R | Nicol Bolas, Planeswalker | ||
Gideon Jura | W | Gideon Jura | ||||
Chandra Nalaar | R | Chandra, Pyromaster | ||||
Nissa Revane | U | G | Nissa, Worldwaker |
Commander theme deck
{{Decks|commander |page name=Commander 2015 |Call the Spirits|WB|Daxos the Returned |Seize Control|UR|Mizzix of the Izmagnus |Plunder the Graves|BG|Meren of Clan Nel Toth |Wade into Battle|RW|Kalemne, Disciple of Iroas |Swell the Host|GU|Ezuri, Claw of Progress }}
Theme deck name |
Color Identity | Commander | ||||
---|---|---|---|---|---|---|
Call the Spirits | W | B | Daxos the Returned | |||
Seize Control | U | R | Mizzix of the Izmagnus | |||
Plunder the Graves | B | G | Meren of Clan Nel Toth | |||
Wade into Battle | W | R | Kalemne, Disciple of Iroas | |||
Swell the Host | U | G | Ezuri, Claw of Progress |
Challenger deck
{{Decks|challenger |page name=Challenger Decks |Hazoret Aggro|R |Vehicle Rush|WRB |Second Sun Control|WU |Counter Surge|BG }}
Challenger deck name |
Colors Included | ||||
---|---|---|---|---|---|
Hazoret Aggro | R | ||||
Vehicle Rush | W | B | R | ||
Second Sun Control | W | U | |||
Counter Surge | B | G |
Planeswalker deck
{{Decks|planeswalker |page name=Kaladesh |Chandra|RW|Chandra, Pyrogenius |Nissa|GU|Nissa, Nature's Artisan }}
Planeswalker deck name |
Colors Included | Planeswalker | ||||
---|---|---|---|---|---|---|
Chandra | W | R | Chandra, Pyrogenius | |||
Nissa | U | G | Nissa, Nature's Artisan |
Intro pack
{{Decks|intro |page name=Shards of Alara |Bant Exalted|GWU|Battlegrace Angel |Esper Artifice|WUB|Master of Etherium |Grixis Undead|UBR|Vein Drinker |Primordial Jund|BRG|Flameblast Dragon |Naya Behemoths|RGW|Spearbreaker Behemoth }}
Intro pack name | Colors Included | Foil rare | ||||
---|---|---|---|---|---|---|
Bant Exalted | W | U | G | Battlegrace Angel | ||
Esper Artifice | W | U | B | Master of Etherium | ||
Grixis Undead | U | B | R | Vein Drinker | ||
Primordial Jund | B | R | G | Flameblast Dragon | ||
Naya Behemoths | W | R | G | Spearbreaker Behemoth |
Event deck
{{Decks|event |page name=Mirrodin Besieged |Infect and Defile|UB |Into the Breach|R }}
Event deck name |
Colors Included | ||||
---|---|---|---|---|---|
Infect and Defile | U | B | |||
Into the Breach | R |
Clash pack
{{Decks|clash |page name=Magic Origins |Armed|WG |Dangerous|WBG }}
Clash pack deck name |
Colors Included | ||||
---|---|---|---|---|---|
Armed | W | G | |||
Dangerous | W | B | G |
Partner Commanders
{{Decks|commander |type=brawl |page name=Secret Lair Drop Series: Secretversary 2021 |Heads I Win, Tails You Lose |UR|Zndrsplt, Eye of Wisdom && Okaun, Eye of Chaos }}
Theme deck name |
Color Identity | Commander | ||||
---|---|---|---|---|---|---|
Heads I Win, Tails You Lose | U | R | Zndrsplt, Eye of Wisdom & Okaun, Eye of Chaos |
Sub-Templates
{{decks/row}}
The above documentation is transcluded from Template:Decks/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |