Template:Link from set code/doc

From Magic: The Gathering Wiki
Jump to navigation Jump to search
This is a template documentation subpage for Template:Link from set code.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.

This template is used to generate a link from a set code. It will be used in templates such as {{10E}}, as a shorthand for editors.

Syntax

{{Link from set code|Article title|Set name (if different from article title)|Shortened name|short={{{1|}}}}}

Example

{{Link from set code|Dungeons & Dragons: Adventures in the Forgotten Realms/Commander decks|Dungeons & Dragons: Adventures in the Forgotten Realms {{noi|Commander decks}}|Adventures in the Forgotten Realms Commander|short={{{1|}}}}}

This will create a template with two modes. With no arguments, it will produce Dungeons & Dragons: Adventures in the Forgotten Realms Commander decks. Setting the first argument to short (or any other non-empty string), it will produce Adventures in the Forgotten Realms Commander.