Template:Version

From railML 2 Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)

upcoming

{{version|0.80}}

delivers

unknown

{{version|1}}

delivers

outdated

{{version|2.3}}

delivers

supported

{{version|3.x}}

delivers

upcoming