Template:V/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "{{doc/start}} This template is a shorthand to display a version number linking to the appropriate changelog on Version history/Alpha, for use in Changelog sections of page...")
 
mNo edit summary
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
This template is a shorthand to display a version number linking to the appropriate changelog on [[Version history/Alpha]], for use in Changelog sections of pages for example.
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==
==Syntax==
<nowiki>{{v|<version>}}</nowiki>
<code><nowiki>{{v|<version>}}</nowiki></code>
==Example==
 
<nowiki>{{v|0.10.5.0}}</nowiki> produces: {{v|0.10.5.0}}
==Examples==
<code><nowiki>{{v}}</nowiki></code> produces: {{v}}
 
<code><nowiki>{{v|0.10.5.0}}</nowiki></code> produces: {{v|0.10.5.0}}


<nowiki>{{v}}</nowiki> produces: {{v}}
<code><nowiki>{{v|0.10.5.0|short=yes}}</nowiki></code> produces: {{v|0.10.5.0|short=yes}}
{{doc/end}}
{{doc/end}}

Revision as of 19:15, 16 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>}}

Examples

{{v}} produces: unknown version

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

{{v|0.10.5.0|short=yes}} produces: 0.10.5.0 (Downtime Update)

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