Difference between revisions of "Template:Release data"
Anarchangel (talk | contribs) |
|||
| Line 113: | Line 113: | ||
* '''[[Across Ixalan]]''' changed to a Legacy 2-day event</pre></code> | * '''[[Across Ixalan]]''' changed to a Legacy 2-day event</pre></code> | ||
|} | |} | ||
| + | |||
| + | [[Category:Maintenance]] | ||
| + | [[Category:Templates]] | ||
</noinclude><includeonly>{{Event data: {{{1}}}}}</includeonly> | </noinclude><includeonly>{{Event data: {{{1}}}}}</includeonly> | ||
Latest revision as of 02:34, 14 December 2024
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). |
|
| 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. |
|