Template:Version

From railML 2 Wiki
Revision as of 12:48, 19 August 2019 by RailML Coord Documentation (talk | contribs) (→‎Example: category:ContentTemplate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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)

upcoming

{{version|0.80}}

delivers

unknown

{{version|1}}

delivers

outdated

{{version|2.3}}

delivers

supported

{{version|3.x}}

delivers

upcoming