Toggle 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
m (1 revision imported)
(One intermediate revision 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 13:03, 11 June 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}} -> 18.1.0

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