Template:InheritVersion: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Documentation) |
(Fürther comment) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|version}}: This is the version number of the | <includeonly>* {{Attr|version}}: This is the version number of the {{rml}} release the current XML file conforms to. It is ''not'' any internal numbering from a version control system for the data version. Use it only, if the subschema element is outsourced, else use the 'version' attribute in the root element ([[CO:railml|<railml>]]){{AddAnn|{{{version|}}}|{{{version_de|}}} }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template displays the attribute ''version'' and a standard comment. It allows for comments both in English and German. | This template displays the attribute ''version'' and a standard comment. It allows for comments both in English and German. | ||
Line 15: | Line 15: | ||
{|border="1" | {|border="1" | ||
| | | | ||
* {{Attr|version}}: This is the version number of the | * {{Attr|version}}: This is the version number of the {{rml}} release the current XML file conforms to. It is ''not'' any internal numbering from a version control system for the data version. {{AddAnn|| }} | ||
|} | |} | ||
Line 27: | Line 27: | ||
{|border="1" | {|border="1" | ||
| | | | ||
* {{Attr|version}}: This is the version number of the | * {{Attr|version}}: This is the version number of the {{rml}} release the current XML file conforms to. It is ''not'' any internal numbering from a version control system for the data version. {{AddAnn|English comment|Deutscher Kommentar }} | ||
|} | |} | ||
The template is employed by [[IS:infrastructure]], [[TT:timetable]] and [[RS:rollingstock]]. | |||
[[Category:AttributeTemplate]]</noinclude> | [[Category:AttributeTemplate]]</noinclude> |
Latest revision as of 18:19, 6 January 2017
Usage
This template displays the attribute version and a standard comment. It allows for comments both in English and German.
Arguments
The template allows for two optional arguments:
- version: English comment
- version_de: German comment
Dependencies
The template depends on Template:Attr and Template:AddAnn. No other templates build on it.
Examples
{{InheritVersion}}
delivers
|
{{InheritVersion |version=English comment |version_de=Deutscher Kommentar }}
delivers
|
The template is employed by IS:infrastructure, TT:timetable and RS:rollingstock.