Template:Version

From Official Barotrauma Wiki
Jump to: navigation, search
Template-info.png Documentation

This template is used to more easily keep track of article versions, as well as stub and cleanup flags. It should be placed before any content in an article.

All parameters are optional.
If the version number is omitted, the notice will state " last updated in unkown version".
If using stub or cleanup, "yes" must be added after an "=" sign, otherwise it might be interpreted as an "anonymous parameter" ( {{{1}}} or {{{2}}}, version number and note respectively, if they weren't specified ). See examples below.

Syntax

{{ Version | <version number> | <note about what is outdated> | stub = yes | cleanup = yes | stubnote = <note about what's missing> | cleanupnote = <note about what should be improved> }}

Examples


{{Version}} gives:
Version Checkmark False.png
Data is Potentially Outdated

Last updated for unknown version
Current game version: 0.15.13.0


{{Version|0.15.13.0}} gives:
Version Checkmark True.png
Data is Up-to-date

Current game version: 0.15.13.0


{{Version|0.9.10.0|Outdated images}} gives:
Version Checkmark False.png
Data is Potentially Outdated

Last updated for version: 0.9.10.0
Current game version: 0.15.13.0
NOTE: Outdated images


{{Version|0.15.13.0|stub=yes|stubnote=Missing damage table}} gives:
Icon-stub.png
Stub
This article is a stub. Help the Official Barotrauma Wiki by expanding it.
NOTE: Missing damage table
Version Checkmark True.png
Data is Up-to-date

Current game version: 0.15.13.0


{{Version
|0.15.13.0
|Outdated images
|stub = yes
|stubnote = Missing damage table
|cleanup = yes
|cleanupnote = Usage of second person needs to be replaced
}}

gives:

Cleanup.svg
Cleanup Required
This article requires cleanup to meet this wiki's quality standards.
NOTE: Usage of second person needs to be replaced
Icon-stub.png
Stub
This article is a stub. Help the Official Barotrauma Wiki by expanding it.
NOTE: Missing damage table
Version Checkmark True.png
Data is Up-to-date

Current game version: 0.15.13.0
NOTE: Outdated images

This template defines the table "PageStatus". View table.