Help:Deck tags
Jump to navigation
Jump to search
Deck tags produce a formatted deck list. Magic card names will be automatically converted to Scryfall links with tooltips, identical to card tags. If section headings are provided, card tallies for each section will be included in the output.
The output includes a menu that gives readers the option to download the deck list in plain text, OCTGN, Apprentice, and Magic Online formats, or to export it directly to decklist.org.
Usage
Decks are marked using the <deck>
or <d>
tag.
- The
title
attribute is technically optional, but recommended for all deck lists in the main article namespace. If omitted, the title will be set to "Untitled Deck". - Every non-empty line within the tags will be interpreted as either a card name, or a section heading.
- A line beginning with a number is interpreted as that many of the card named immediately after the number.
- A line not beginning with a number is interpreted as a section heading. Subsequent card counts (until the next heading) are tallied and the total is listed adjacent to that heading.
- A section named
sideboard
orsb
is a special case. Some deck export formats require the sideboard to be designated appropriately, andsideboard
orsb
will enable that. - The deck tag does not attempt to validate its contents.
- Card names that do not actually exist will produce a broken link with an "Unrecognized card" tooltip.
- Section headings are merely descriptions suggested by the editor, and may not accurately describe the cards that follow.
Examples
<d> Land 20 Swamp Creature 36 Relentless Rats Artifact 4 Aether Vial </d> |
Untitled Deck |
With title
<d title="Relentless Rats"> Land 20 Swamp Creature 36 Relentless Rats Artifact 4 Aether Vial </d> |
Relentless Rats |
Sideboard
<d title="Rats"> Land 20 Swamp Creature 36 Relentless Rats Artifact 4 Aether Vial Sideboard 15 Relentless Rats </d> |
Rats |
See also
Note
The deck
tag is not defined in HTML, but is instead recognized and parsed by the ScryfallLinks MediaWiki extension.