Template:Version

From wiki.railML.org
Jump to: navigation, search

Usage

This template maps, whether a certain version number exists and whether it is current, upcoming or outdated.

Arguments

The only, unnamed and default argument of this template is the version number to be checked.

Example

{{version|{{current}}}}

delivers (as an illustrative example; Template:Current should never be employed within this template in practice; always write the version number explicitely)

current

{{version|0.80}}

delivers

unknown

{{version|1}}

delivers

outdated

{{version|2.3}}

delivers

supported

{{version|3.x}}

delivers

upcoming