Template:V: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>[[Version history/Alpha#{{#if: {{{1|}}}|{{{1}}}{{{!}}}{{{1}}}|}}]]</includeonly>
<includeonly>[[Version history/Alpha#{{#if: {{{1|}}}|{{{1}}}{{{!}}}{{{1}}}|[[Version history/Alpha|Unkown version]]}}]]</includeonly>
<noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude>
<noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude>

Revision as of 13:40, 11 February 2021

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: [[Version history/Alpha#Unkown 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]]