Template:Release data

From mtgpq wiki
Revision as of 07:56, 3 March 2019 by Volrak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Release data templates extract data for a release for use in other templates. Release data is extracted as follows:

{{Release data: {{{version}}}|param}}
  • version: The version of the release
  • param: A number indicating the position of the parameter to extract.

The release data is stored in templates named "Template:Release data: version", such as Template:Release data: 3.2.

Example

{{Release data: 3.2|3}}

Produces:

Jan 2019

Details

The data is formatted as follows:

{{p{{{1}}}
| Version
| Release notes
| Date
| New set
| Sets added to Standard
| Sets removed from Standard
| New planeswalkers
| New events
| Other notable changes
}}

For example:

{{p{{{1}}}
|3.0
| https://forums.d3go.com/discussion/75872/3-0-release-notes-updated-11-13-18
|Nov 2018
| GRN
| GRN
|
| * Ral, Izzet Viceroy
* Vraska, Golgari Queen
| * Rising Tensions
| * '''Graveyard''' contents now visible during play
* '''Standard rotation''' will now change in sync with MtG
* '''[[Across Ixalan]]''' changed to a Legacy 2-day event
}}
Param Param name Description Examples
p{{{1}}} A literal template formatting string which must always be present.
1 Version The version number. 3.2
2 Release notes The URL of the release notes on the mtgpq forums. https://forums.d3go.com/discussion/75872/3-0-release-notes-updated-11-13-18
3 Date The date of the release, as ashorthand month and year. If this is an upcoming release, add "(EXPECTED)". Nov 2018
4 New set The three-letter abbreviation of a new set introduced in this release, if any. GRN
5 Sets added to Standard A comma-separated list of the sets added to Standard in this release, if any. GRN
6 Sets removed from Standard A comma-separated list of the sets removed from Standard in this release, if any.
7 New planeswalkers A list of asterisked full planeswalker names (plain text).
* Ral, Izzet Viceroy
* Vraska, Golgari Queen
8 New events A list of asterisked full event names (plain text).
9 Other notable changes A list of asterisked items of other notable changes in the release. Key phrases may be bolded and wiki links may be used.
* '''Graveyard''' contents now visible during play
* '''Standard rotation''' will now change in sync with MtG
* '''[[Across Ixalan]]''' changed to a Legacy 2-day event