Template:Decks: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>Fenhl
m (→‎Template usage: formatting)
Line 33: Line 33:
* For each deck, there are two or three required parameters, depending on deck type:
* 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 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>.
** The deck's colors, e.g. <code>WUBRG</code> or <code>C</code>.
** In <code>planeswalker</code>, <code>commander</code>, <code>iconic</code>, <code>intro</code>, and <code>user</code> mode, there is a third required parameter:
** In <code>planeswalker</code>, <code>commander</code>, <code>iconic</code>, <code>intro</code>, and <code>user</code> mode, there is a third required parameter:
*** For Planeswalker decks, the name of the Planeswalker. Do not surround with <code><nowiki><c></c></nowiki></code>.
*** For Planeswalker decks, the name of the Planeswalker. Do not surround with <code><nowiki><c></c></nowiki></code>.

Revision as of 01:21, 26 February 2018

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 planeswalker for Planeswalker decks and commander for Commander theme decks. Generic theme decks use theme, if theme deck has an iconic card use iconic. Other deck types, like challenger, event, or intro are also supported. User pages may use user, 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 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 or C.
    • In planeswalker, commander, iconic, intro, and user 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.
  • 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 deck type). It defaults to the name of the page where it is used.

Examples

Theme deck

{{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
}}
Theme deck name Colors included
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Template:Decks row
Template:Decks row
Template:Decks row

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
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Template:Decks row
Template:Decks row

Commander theme deck

{{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
}}
Theme deck name Color Identity Commander
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Template:Decks row
Template:Decks row
Template:Decks row

Challenger deck

{{Decks|challenger
  |page name=Challenger Decks (2018) 
  |Hazoret Aggro|R
  |Vehicle Rush|WRB
  |Second Sun Control|WU
  |Counter Surge|BG
}}
Challenger deck name Colors included
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Template:Decks row
Template:Decks row

Planeswalker deck

{{Decks|planeswalker
  |page name=Kaladesh
  |Chandra|RW|Chandra, Pyrogenius
  |Nissa|GU|Nissa, Nature's Artisan
}}
Planeswalker deck name Colors included Planeswalker
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

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
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Template:Decks row
Template:Decks row
Template:Decks row

Event deck

{{Decks|event
  |page name=Mirrodin Besieged
  |Infect and Defile|UB
  |Into the Breach|R
}}
Event deck name Colors included
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row

Clash pack

{{Decks|clash
  |page name=Magic Origins
  |Armed|WG
  |Dangerous|WBG
}}
Clash pack deck name Colors included
{W} {U} {B} {R} {G}
Template:Decks row

Template:Decks row