Template:V: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Making this for use in changelog sections of pages (which I'm gonna start implementing))
 
mNo edit summary
Line 1: Line 1:
<includeonly>[[Version history/Alpha#{{{1}}}|{{{1}}}]]</includeonly>
<includeonly>[[Version history/Alpha#{{#if: {{{1|}}}|{{{1}}}{{{!}}}{{{1}}}|}}]]</includeonly>
<noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude>
<noinclude>{{clr}}{{doc}}[[Category:Templates]]</noinclude>

Revision as of 13:39, 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#


{{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]]