Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SystemVersion/doc: Difference between revisions

Template page
(misplaced header)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Provides the latest system version. The possible arguments are <code>ctr</code>, <code>wup</code>, <code>hac</code>, and <code>rvl</code>.
Provides the latest system version. The possible arguments are <code>ctr</code>, <code>wup</code>, and <code>hac</code>.
 
When updating please make sure to check the maintenance guide: [[Hacks Guide Wiki:Maintenance#New system versions]]


*<code><nowiki>{{SystemVersion|ctr}}</nowiki></code> -> {{SystemVersion|ctr}}
*<code><nowiki>{{SystemVersion|ctr}}</nowiki></code> -> {{SystemVersion|ctr}}
*<code><nowiki>{{SystemVersion|wup}}</nowiki></code> -> {{SystemVersion|wup}}
*<code><nowiki>{{SystemVersion|wup}}</nowiki></code> -> {{SystemVersion|wup}}
*<code><nowiki>{{SystemVersion|hac}}</nowiki></code> -> {{SystemVersion|hac}}
*<code><nowiki>{{SystemVersion|hac}}</nowiki></code> -> {{SystemVersion|hac}}
*<code><nowiki>{{SystemVersion|rvl}}</nowiki></code> -> {{SystemVersion|rvl}}


Using the wrong one will output an error and add it to a category: [[:Category:Pages with incorrect template use]]:
Using the wrong one will output an error and add it to a category: [[:Category:Pages with incorrect template use]]:
*<code><nowiki>{{SystemVersion|twl}}</nowiki></code> -> {{SystemVersion|twl|nocat=1}}
*<code><nowiki>{{SystemVersion|rvl}}</nowiki></code> -> {{SystemVersion|rvl|nocat=1}}


== TemplateData ==
== TemplateData ==
Line 24: Line 21:
"ctr",
"ctr",
"wup",
"wup",
"hac",
"hac"
"rvl"
],
],
"required": true
"required": true

Revision as of 03:14, 30 April 2022

Provides the latest system version. The possible arguments are ctr, wup, and hac.

  • {{SystemVersion|ctr}} -> 11.17.0-50
  • {{SystemVersion|wup}} -> 5.5.6
  • {{SystemVersion|hac}} -> 19.0.1

Using the wrong one will output an error and add it to a category: Category:Pages with incorrect template use:

  • {{SystemVersion|rvl}} -> 4.3

TemplateData

Returns the current system version for the given console.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Console1

Console to get the version for.

Suggested values
ctr wup hac
Example
ctr
Contentrequired