Template:InheritNationalSystemType: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
Line 9: | Line 9: | ||
The template depends on [[Template:Attr]], [[Template:Intro]], [[Template:Deu]], [[Template:Enum]], [[Template:OtherEnum}} and [[Template:AddAnn]]. No other templates build on it. | The template depends on [[Template:Attr]], [[Template:Intro]], [[Template:Deu]], [[Template:Enum]], [[Template:OtherEnum}} and [[Template:AddAnn]]. No other templates build on it. | ||
==Examples== | ==Examples== | ||
< | <pre>{{InheritNationalSystemType}}</pre> | ||
delivers (in a box) | delivers (in a box) | ||
Line 15: | Line 15: | ||
{|border="1" | {|border="1" | ||
| | | | ||
* {{Attr|type}}: This specifies the type of the [http://en.wikipedia.org/wiki/Train_protection_system train protection system] using an enumeration in order to have unique names. {{Intro|2.1}} The type shall be taken from the list of '''<trainProtectionSystemsOnVehicle>''' of the [[CO:Codelists|codelist]] ''TrainProtectionSystems.xml'' that comes with the schema. <br/> {{Deu|Hier wird das verwendete [http://de.wikipedia.org/wiki/Zugbeeinflussung Zugbeeinflussungssystem] aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in '''<trainProtectionSystemsOnVehicle>''' der [[CO:Codelists|Codelist]] ''TrainProtectionSystems.xml'' bereitgestellt, die bei dem Schema mit enthalten ist. }} | * {{Attr|type}}: This specifies the type of the [http://en.wikipedia.org/wiki/Train_protection_system train protection system] using an enumeration in order to have unique names. {{Intro|2.1}} The type shall be taken from the list of '''<trainProtectionSystemsOnVehicle>''' of the [[CO:Codelists|codelist]] ''TrainProtectionSystems.xml'' that comes with the schema. <br/> {{Deu|Hier wird das verwendete [http://de.wikipedia.org/wiki/Zugbeeinflussung Zugbeeinflussungssystem] aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in '''<trainProtectionSystemsOnVehicle>''' der [[CO:Codelists|Codelist]] ''TrainProtectionSystems.xml'' bereitgestellt, die bei dem Schema mit enthalten ist.}}{{#if:|{{AddAnn||}}|{{#if:{{{type_de}}}|{{AddAnn||}}}}}} | ||
|} | |} | ||
Line 27: | Line 27: | ||
{|border="1" | {|border="1" | ||
| | | | ||
{{ | * {{Attr|type}}: This specifies the type of the [http://en.wikipedia.org/wiki/Train_protection_system train protection system] using an enumeration in order to have unique names. {{Intro|2.1}} The type shall be taken from the list of '''<trainProtectionSystemsOnVehicle>''' of the [[CO:Codelists|codelist]] ''TrainProtectionSystems.xml'' that comes with the schema. <br/> {{Deu|Hier wird das verwendete [http://de.wikipedia.org/wiki/Zugbeeinflussung Zugbeeinflussungssystem] aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in '''<trainProtectionSystemsOnVehicle>''' der [[CO:Codelists|Codelist]] ''TrainProtectionSystems.xml'' bereitgestellt, die bei dem Schema mit enthalten ist.}}{{#if:An English comment.|{{AddAnn|An English comment.|Ein deutscher Kommentar.}}|{{#if:Ein deutscher Kommentar.|{{AddAnn|An English comment.|Ein deutscher Kommentar.}}}}}} | ||
|type | |||
| | |||
}} | |||
|} | |} | ||
Revision as of 16:51, 13 June 2017
Usage
This template displays an attribute type (of train protection system) plus a long list of possible values, including the wildcard other:anything. It allows for optional comments on the last value in English and German.
Arguments
The template has two optional arguments:
- notes_en: an english comment
- notes_de: a German comment
Dependencies
The template depends on Template:Attr, Template:Intro, Template:Deu, Template:Enum, [[Template:OtherEnum}} and Template:AddAnn. No other templates build on it.
Examples
{{InheritNationalSystemType}}
delivers (in a box)
|
{{InheritNationalSystemType |type=An English comment. |type_de=Ein deutscher Kommentar. }}
delivers (in a box)
|
The template is employed by RS:nationalSystem and TT:equipment.