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>, and <code>hac</code>.
Provides the latest system version. The possible arguments are <code>ctr</code>, <code>wup</code>, <code>hac</code>, and <code>rvl</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|rvl}}</nowiki></code> -> {{SystemVersion|rvl|nocat=1}}
*<code><nowiki>{{SystemVersion|twl}}</nowiki></code> -> {{SystemVersion|twl|nocat=1}}


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

Latest revision as of 07:01, 24 June 2024

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

When updating please make sure to check the maintenance guide: Hacks Guide Wiki:Maintenance#New system versions

  • {{SystemVersion|ctr}} -> 11.17.0-50
  • {{SystemVersion|wup}} -> 5.5.6
  • {{SystemVersion|hac}} -> 18.1.0
  • {{SystemVersion|rvl}} -> 4.3

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

  • {{SystemVersion|twl}} -> Incorrect console type given to {{SystemVersion}}. Correct ones are ctr, wup, hac, and rvl. Given: twl

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 rvl
Example
ctr
Contentrequired