Template:Version: Difference between revisions
(moving documentation to subpage) |
(Updating to match the updated module; just a parameter name change for clarity) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:VersionMessageBox| | <includeonly>{{#invoke:VersionMessageBox|main | ||
|lastupdated={{{1|{{{lastupdated|}}} }}} | |||
|currentversion={{CurrentVersion}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:00, 15 October 2024
Overview
Place this template at the top of every page that has any user-generated content. Pages with only dynamically updated data, like infoboxes and recipe tables do not need this template at the top until authors have added content by hand.
Creates a message box that displays when the page content is out of date. This template references Template:CurrentVersion, which is currently 1.4.17. If that's not correct, please go update it!
Parameters
Version
Specify the version number of the game as of your update.
Parameter | Type | Description |
---|---|---|
unnamed parameter | string | The version of the game as of your update. If the developers have labeled the version with a letter, for example, 1.0.2R, omit the letter: 1.0.2 .
|
Examples
Basic usage
When the template call is included at the top of the article, the version message box will appear nicely above the rest of the page text.
{{Version|0.39.2}}
Other examples
When all of the content in an article is up-to-date, and you update the template call with the version as of today, the message box disappears.
{{Version|1.4.17}}
Since this template call uses the current game version, the information box does not appear.