Template:Version

From Kerbal Space Program Wiki
Revision as of 23:01, 14 December 2013 by XZise (talk | contribs) (+special default text option;)
Jump to: navigation, search

[[Version history#v{{{1}}}|version {{{1}}}]]

if {{{2|}}} // prefix text is undefined OR defined as a non-empty string
   if {{{2}}} // prefix text is defined as a non-empty string
      "{{{2}}} {{{1}}}"
   else // prefix text is undefined
      "version {{{1}}}"
else // prefix text is defined as an empty string
   "{{{1}}}"

Template:Parameter Table

The version number can be preceded by a 'v'. It links to the localized pages for the following languages:

  • German
  • Polish
  • Russian
  • Chinese (zh-cn)

The “version” default text is translated into the following languages:

  • German
  • Polish
  • Russian

Examples

Usage Produces
{{version|0.17}}
 version 0.17
{{version|0.17|}}
 0.17
{{version|0.17|prefix text here}}
 prefix text here 0.17