Template:V/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 3: Line 3:


==Syntax==
==Syntax==
<code><nowiki>{{v|<version>}}</nowiki></code>
<code><nowiki>{{v|<version>|numonly/nameonly}}</nowiki></code>


==Examples==
==Examples==

Revision as of 04:44, 17 June 2022

Documentation

This template is a shorthand to display a version number/name linking to the appropriate changelog on Version history/Alpha, for use in Changelog sections of pages for example.

Syntax

{{v|<version>|numonly/nameonly}}

Examples

{{v}} produces: unknown version

{{v|0.10.5.0}} produces: 0.10.5.0 (Downtime Update)

{{v|0.10.5.0|numonly}} produces: 0.10.5.0

{{v|0.10.5.0|nameonly}} produces: Downtime Update

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.