Template:Link from set code

From Magic: The Gathering Wiki
Jump to navigation Jump to search

[[{{{1}}}|{{{1}}}]]

 Template Documentation[view | edit | history | purge]

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.

The above documentation is transcluded from Template:Link from set code/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories and interwikis to the /doc subpage. Subpages of this template.