Template:InheritNationalSystemType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(intro- und depri-Tags vor 2.2 entfernt)
Line 1: Line 1:
<includeonly>* {{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:{{{type|}}}|{{AddAnn|{{{type|}}}|{{{type_de|}}}}}|{{#if:{{{type_de}}}|{{AddAnn|{{{type|}}}|{{{type_de|}}}}}}}}}</includeonly><noinclude>
<includeonly>* {{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. 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:{{{type|}}}|{{AddAnn|{{{type|}}}|{{{type_de|}}}}}|{{#if:{{{type_de}}}|{{AddAnn|{{{type|}}}|{{{type_de|}}}}}}}}}</includeonly><noinclude>
==Usage==
==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.
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.
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.}}{{#if:|{{AddAnn||}}|{{#if:{{{type_de}}}|{{AddAnn||}}}}}}
* {{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. 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.}}}}}}
* {{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. 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.}}}}}}
|}
|}



Revision as of 17:40, 23 July 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)

  • type: This specifies the type of the train protection system using an enumeration in order to have unique names. The type shall be taken from the list of <trainProtectionSystemsOnVehicle> of the codelist TrainProtectionSystems.xml that comes with the schema.
    Hier wird das verwendete Zugbeeinflussungssystem aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in <trainProtectionSystemsOnVehicle> der Codelist TrainProtectionSystems.xml bereitgestellt, die bei dem Schema mit enthalten ist.
{{InheritNationalSystemType
|type=An English comment.
|type_de=Ein deutscher Kommentar.
}}

delivers (in a box)

  • type: This specifies the type of the train protection system using an enumeration in order to have unique names. The type shall be taken from the list of <trainProtectionSystemsOnVehicle> of the codelist TrainProtectionSystems.xml that comes with the schema.
    Hier wird das verwendete Zugbeeinflussungssystem aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in <trainProtectionSystemsOnVehicle> der Codelist TrainProtectionSystems.xml bereitgestellt, die bei dem Schema mit enthalten ist.
    An English comment.
    Ein deutscher Kommentar.

The template is employed by RS:nationalSystem and TT:equipment.