From Brotato Wiki

(add templatedata)
(add latest version (0.8.0.3))
 
Line 18: Line 18:


<code><nowiki>{{Version|0.5.11c}}</nowiki></code> = {{Version|0.5.11c}}<br>
<code><nowiki>{{Version|0.5.11c}}</nowiki></code> = {{Version|0.5.11c}}<br>
<code><nowiki>{{Version|0.6.0.7}}</nowiki></code> = {{Version|0.6.0.7}}
<code><nowiki>{{Version|0.6.0.7}}</nowiki></code> = {{Version|0.6.0.7}}<br>
<code><nowiki>{{Version|0.6.1.6}}</nowiki></code> = {{Version|0.6.1.6}}<br>
<code><nowiki>{{Version|0.6.1.6}}</nowiki></code> = {{Version|0.8.0.3}}





Latest revision as of 19:30, 14 February 2023


Show a game version number:

  • The text is green if the provided version matches the current version.
  • The text is red if it's lower.

Intended for use on the Modding page, to better show mods that use an outdated version of the game.

Also includes hover text explaining the colors.

Uses Template:GetVersion to get the current version (1.1.7.1).

Example

{{Version|0.5.11c}} = 0.5.11c
{{Version|0.6.0.7}} = 0.6.0.7
{{Version|0.6.1.6}} = 0.6.1.6
{{Version|0.6.1.6}} = 0.8.0.3


Example using the current game version, in case the examples above are all out of date:

{{Version|{{GetVersion}}}} = 1.1.7.1




No description.

Template parameters

ParameterDescriptionTypeStatus
Versionversion 1

no description

Stringrequired