Template:Game update icon subobject

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Modified {{game update icon}} version that allows to set game update "note" which is stored in a SMW subobject and then can be substituted by {{Game update helper}}. Format using {{Game update icon result format}}.

Temporarily used properties

Usage[edit]

{{Game update icon|<page name>}}

Parameters[edit]

1 (unnamed parameter)
skill or trait page name.
2 (unnamed parameter)
Optional. Displayed skill or trait name. This one may differ from the page name, for example upper-/lowercase mistakes in the game update notes.
icon
Optional. Specify a valid filename without the "File:" prefix.
note
Optional. Displays the game update note and creates a subobject which sets the properties Has game update context page=Template:Game update icon subobject, Has game update page=<skill or trait page>, and Has game update note={{{note|}}}.

{{Game update helper}} usage[edit]

  1. Copy the game notes into your sandbox
  2. Replace Game update icon with Game update icon subobject
  3. Regex-replace \{\{game update icon subobject\|(.*?)\}\}: (.*) with {{game update icon subobject|$1|note=$2}}.
  4. Use {{subst:game update helper|source=<your sandbox>}} in the version history table and /history page, set unnamed parameter 1 to the date if needed.