Template:Version hg

From railML 3 Wiki
Revision as of 16:53, 16 January 2023 by RailML Coord Documentation (talk | contribs) (Created page with "<includeonly>|bgcolor={{#if:{{{1|}}}|{{#switch:{{{1}}}|{{current|{{{1}}}}}="green"|#default="#F0CA00"}}|"red"}}|This page refers to {{#if:{{{1|}}}|version {{{1}}}|'''no specif...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Application

This template works in the background to support Template:Version and Template:UseCase. It displays a table field, explaining, for which railML® version a page is written. It compares that string with the current version number deposed in Template:Current and reports, whether the content can be considered to be up to date or not.

As to support the maintanance of this wiki, the template categorizes pages, in which it is included, according to the version number for which they have been written. Thus pages that are up to date can be found in category:Pages written for version 3.3.

Arguments

The only, unnamed and default argument of this template is the version number for which a page has been written.

Dependencies

This template employs Template:Current; it is used by Template:Version and Template:UseCase.

Example

As this template should work under the hood only, it can be illustrated with Template:Version#Example and Template:UseCase#Example.