Difference between revisions of "Template:Main page updates"
AnarchangeI (talk | contribs) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
#* Increment the number in the first field (e.g. change "35" to "36") | #* Increment the number in the first field (e.g. change "35" to "36") | ||
#* Add the release number of the new version as a new field at the end of the list (e.g. add "| 3.3") | #* Add the release number of the new version as a new field at the end of the list (e.g. add "| 3.3") | ||
− | # Add the event data for the new release (e.g. add the page [[Template:Release data: 3.3]]). This can be done by copying the contents of an existing release data page and modifying it for the new release. (Documentation: [[ | + | # Add the event data for the new release (e.g. add the page [[Template:Release data: 3.3]]). This can be done by copying the contents of an existing release data page and modifying it for the new release. (Documentation: [[Template:Release data]]) |
== Example == | == Example == | ||
Line 23: | Line 23: | ||
</noinclude><includeonly> <!-- Show all summary info for the latest release, and only the short version, if any, for the 3 releases prior --> | </noinclude><includeonly> <!-- Show all summary info for the latest release, and only the short version, if any, for the 3 releases prior --> | ||
− | + | {{Release info brief|{{Release list|{{#expr:{{Release list|1}}-0}}}}|long}} | |
+ | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-1}}}}|short}} | ||
+ | |<hr>{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-1}}}}|short}}}} | ||
+ | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-2}}}}|short}} | ||
+ | |<hr>{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-2}}}}|short}}}} | ||
{{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-3}}}}|short}} | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-3}}}}|short}} | ||
− | |{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-3}}}}|short}} | + | |<hr>{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-3}}}}|short}}}} |
− | + | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-4}}}}|short}} | |
− | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}- | + | |<hr>{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-4}}}}|short}}}} |
− | |{{Release info brief|{{Release list|{{#expr:{{Release list|1}}- | + | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-5}}}}|short}} |
− | + | |<hr>{{Release info brief|{{Release list|{{#expr:{{Release list|1}}-5}}}}|short}}}}</includeonly> | |
− | {{#if:{{Release info brief|{{Release list|{{#expr:{{Release list|1}}- | ||
− | |{{Release info brief|{{Release list|{{#expr:{{Release list|1}}- | ||
− | |||
− |
Latest revision as of 01:27, 10 July 2024
Usage
This template defines the content of the "Game updates" pane of the main page.
This content automatically updates itself after new release data is added. A brief summary of the most recent 3 releases are shown.
Release data is added by the following steps:
- Update Template:Release_list:
- Increment the number in the first field (e.g. change "35" to "36")
- Add the release number of the new version as a new field at the end of the list (e.g. add "| 3.3")
- Add the event data for the new release (e.g. add the page Template:Release data: 3.3). This can be done by copying the contents of an existing release data page and modifying it for the new release. (Documentation: Template:Release data)
Example
The following shorthand:
{{Main page updates}}
Produces:
Release 7.0.0 (19th November 2024):
Foundations (FDN )
Chandra, Flameshaper ()
Kaito, Cunning Infiltrator ()
Creatures of Magic
Strategic Conflict
Release 6.9.1 (29th October 2024):
Angrath, Minotaur Pirate ()
Trick or Treat 2024
Release 6.9.0 (12th Aug 2024):
Duskmourn: House of Horror (DSK )
Kaito, Bane of Nightmares ()
Liliana of the Dark Realms ()
Night of the Hunt
Battle for the Crown
Release 6.8.1 (10th September 2024):
Garruk, Apex Predator ()
Chandra, Hope's Beacon ()
Seasons of Bloomburrow
Release 6.8.0 (12th Aug 2024):
Bloomburrow (BLB )
Archangel Elspeth ()
Ral, Crackling Wit ()
Commoner Cup
MID, VOW, NEO, SNC card sets moved out of Standard
Release 6.7.0 (2nd July 2024):
Puzzle Masters 2 (Puzzle Masters 2 Puzzle Masters 2)
Sorin, Ravenous Neonate ()
Ral, Leyline Prodigy ()
Grist, The Plague Swarm ()
Mana Burn