Template:InheritNationalSystemType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
m (1 revision imported: http→https)
(Corrected faulty description in English and redundant description in German.)
Line 1: Line 1:


<includeonly>* {{Attr|type}}: This specifies the type of the {{external|https://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 [[dev:Codelists|codelist]] ''[[TrainProtectionSystems.xml]]'' that comes with the schema. <br/> {{Deu|Hier wird das verwendete {{external|https://de.wikipedia.org/wiki/Zugbeeinflussung|Zugbeeinflussungssystem|lang=de|inlang=de}} aus der verfügbaren Auswahl spezifiziert. Seit Version 2.1 wird die Liste der verfügbaren Systeme in '''<trainProtectionSystemsOnVehicle>''' der [[dev: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 {{external|https://en.wikipedia.org/wiki/Train_protection_system|train protection system}}. {{Intro|2.1}} The type shall be taken from the list of '''<trainProtectionSystemsOnVehicle>''' of the [[dev:Codelists|codelist]] ''[[TrainProtectionSystems.xml]]'' that comes with the schema. <br/> {{Deu|Hier wird das verwendete {{external|https://de.wikipedia.org/wiki/Zugbeeinflussung|Zugbeeinflussungssystem|lang=de|inlang=de}}. Seit Version 2.1 wird die Liste der verfügbaren Systeme in '''<trainProtectionSystemsOnVehicle>''' der [[dev: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.

Revision as of 16:50, 15 November 2022


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.