Template:V/doc: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
<code><nowiki>{{v|0.10.5.0}}</nowiki></code> produces: {{v|0.10.5.0}} | <code><nowiki>{{v|0.10.5.0}}</nowiki></code> produces: {{v|0.10.5.0}} | ||
<code><nowiki>{{v|0.10.5.0| | <code><nowiki>{{v|0.10.5.0|numonly}}</nowiki></code> produces: {{v|0.10.5.0|numonly}} | ||
<code><nowiki>{{v|0.10.5.0|nameonly}}</nowiki></code> produces: {{v|0.10.5.0|nameonly}} | |||
{{doc/end}} | {{doc/end}} |
Revision as of 04:39, 17 June 2022
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|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.