Template:V: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if: {{{1|}}}|[[Version history/Alpha#{{{1}}}{{{!}}}{{{1}}}]]|[[Version history/Alpha{{{!}}Unknown version]]}}</includeonly> | ||
<noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude> | <noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude> |
Revision as of 13:42, 11 February 2021
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: [[Version history/Alpha{|Unknown version]]
{{v|0.10.0.0}}
produces: [[Version history/Alpha#0.10.0.0{{{!}}}0.10.0.0]]
{{v|0.10.5.0}}
produces: [[Version history/Alpha#0.10.5.0{{{!}}}0.10.5.0]]
{{v|0.10.5.0|numonly}}
produces: [[Version history/Alpha#0.10.5.0{{{!}}}0.10.5.0]]
{{v|0.10.5.0|nameonly}}
produces: [[Version history/Alpha#0.10.5.0{{{!}}}0.10.5.0]]
The above documentation is transcluded from Template:V/doc. (edit | history)