Difference between revisions of "Template:Release data"

From mtgpq wiki
Jump to: navigation, search
(Created page with "{{ |1.2 |https://forums.d3go.com/discussion/36419/patch-notes-v1-2-0-12-09-15 |Dec 2015 |ORI | | |Chandra, Roaring Flame Gideon, Battle Forged Jace, Telepath Unbound Liliana,...")
 
 
Line 1: Line 1:
{{
+
<noinclude>
|1.2
+
==Usage==
|https://forums.d3go.com/discussion/36419/patch-notes-v1-2-0-12-09-15
+
Release data templates extract data for a release for use in other templates. 
|Dec 2015
+
Release data is extracted as follows:
|ORI
+
<pre><nowiki>
 +
{{Release data: {{{version}}}|param}}
 +
</nowiki></pre>
 +
* '''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==
 +
<pre><nowiki>
 +
{{Release data: 3.2|3}}
 +
</nowiki></pre>
 +
Produces:
 +
 
 +
{{Release data: 3.2|3}}
 +
==Details==
 +
The data is formatted as follows:
 +
 
 +
<pre><nowiki>
 +
{{p{{{1}}}
 +
| Version
 +
| Release notes
 +
| Date
 +
| New set
 +
| Sets added to Standard
 +
| Sets removed from Standard
 +
| New planeswalkers
 +
| New events
 +
| Other notable changes
 +
}}
 +
</nowiki></pre>
 +
 
 +
For example:
 +
<pre><nowiki>
 +
{{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
 +
}}
 +
</nowiki></pre>
 +
 +
{| class="wikitable"
 +
|-
 +
! Param
 +
! Param name
 +
! Description
 +
! Examples
 +
|-
 
|
 
|
|Chandra, Roaring Flame
+
| p{{{1}}}
Gideon, Battle Forged
+
| A literal template formatting string which must always be present.
Jace, Telepath Unbound
 
Liliana, Defiant Necromancer
 
Nissa, Sage Animist
 
|Quick Battle
 
|Public game launch
 
:::
 
|1.3
 
|https://forums.d3go.com/discussion/39020/patch-notes-v1-3-02-02-16#latest
 
|Feb 2016
 
 
|
 
|
 +
|-
 +
| 1
 +
| Version
 +
| The version number.
 +
| <code>3.2</code>
 +
|-
 +
| 2
 +
| Release notes
 +
| The URL of the release notes on the mtgpq forums.
 +
| <code>https://forums.d3go.com/discussion/75872/3-0-release-notes-updated-11-13-18</code>
 +
|-
 +
| 3
 +
| Date
 +
| The date of the release, as ashorthand month and year.  If this is an upcoming release, add "(EXPECTED)".
 +
| <code>Nov 2018</code>
 +
|-
 +
| 4
 +
| New set
 +
| The three-letter abbreviation of a new set introduced in this release, if any.
 +
| <code>GRN</code>
 +
|-
 +
| 5
 +
| Sets added to Standard
 +
| A comma-separated list of the sets added to Standard in this release, if any.
 +
| <code>GRN</code>
 +
|-
 +
| 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).
 +
| <code><pre>* Ral, Izzet Viceroy
 +
* Vraska, Golgari Queen</pre></code>
 +
|-
 +
| 8
 +
| New events
 +
| A list of asterisked full event names (plain text).
 
|
 
|
|
+
|-
|
+
| 9
|Monthly progression daily rewards added
+
| Other notable changes
Heroic encounters added to [[Story Mode]]
+
| A list of asterisked items of other notable changes in the release.  Key phrases may be bolded and wiki links may be used.
Ranking rewards added to Quick Battle
+
| <code><pre>* '''Graveyard''' contents now visible during play
}}
+
* '''Standard rotation''' will now change in sync with MtG
 +
* '''[[Across Ixalan]]''' changed to a Legacy 2-day event</pre></code>
 +
|}
 +
 
 +
</noinclude><includeonly>{{Event data: {{{1}}}}}</includeonly>

Latest revision as of 07:56, 3 March 2019

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