Template:Version hg: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 12: Line 12:
As this template should work under the hood only, it can be illustrated with [[Template:Version#Example]] 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]].


{{interwiki}}
[[Category:ContentTemplate]]
[[Category:ContentTemplate]]
</noinclude>
</noinclude>

Latest revision as of 17:52, 16 January 2023

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 2.5.

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.