Template:Game update helper

From Guild Wars 2 Wiki
Jump to navigationJump to search


Description[edit]

This template is used to substitute the current skill or trait game update notes either in the version history table or in the version history page. It requires the usage of {{Game update icon}} and the parameter "note" to get the game update notes (preferably not on the game update page for huge updates). The current infobox is "copied" with dpl. Uses /subst nd /subst2 for substituting "{{" and "}}", respectively.

Used properties

Usage[edit]

Table[edit]

Code
{{subst:game update helper}}
{{subst:game update helper|<date>}}
{{subst:game update helper|<date>|<base page name>}}
Result
{{Version history table row|<date>|<profession as section name>}}
* <game update notes>

Page[edit]

Code
{{subst:game update helper|mode=page}}
{{subst:game update helper|<date>|mode=page}}
{{subst:game update helper|<date>|<base page name>|mode=page}}
Result
{{<Skill or Trait> infobox/historical
| date = <date>
| changes =
* [[<base page name>]]: <game update notes>
| <infobox parameters>
}}

Parameters[edit]

1 (unnamed parameter)
Optional. Date, format: "year-month-day", defaults to the current UTC date.
2 (unnamed parameter)
Optional. Skill or trait page name, defaults to BASEPAGENAME.
mode
Optional. Either "table" or "page", defaults to "table".
heading
Optional. For table mode only. Version table link heading, on default the profession is used. Use e.g. heading = Elementalist 2 to link to the second elementalist heading.
minor
Optional. For page mode only. If set adds "minor = y" instead of copying current infobox from the base page.
notes
Optional. Default notes if the query doesn't find one.
source
Optional. Source base page, defaults to Game updates, used for game update notes stored in userspace. Requires game update date as subpage name (User:<user>/<year-month-day> where source would be anything before the date).

Example[edit]

Table
{| {{STDT|elementalist}}
! Patch !! Changes
|-
{{subst:game update helper|2019-10-01|Signet of Air}}
|}
Patch Changes
October 01, 2019
  • This skill can now be activated to break stuns without a target. Activating the skill while out of range of a target or without a target while not under control effects will put it on interrupt cooldown.
Page
{{subst:game update helper|2019-10-01|Signet of Air|mode=page|minor=y}}

October 01, 2019

  • Signet of Air.png Signet of Air: This skill can now be activated to break stuns without a target. Activating the skill while out of range of a target or without a target while not under control effects will put it on interrupt cooldown.