Template:InheritNationalSystemType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
mNo edit summary
No edit summary
Line 1: Line 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 file ''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 Datei ''TrainProtectionSystems.xml'' bereitgestellt, die bei dem Schema mit enthalten ist. }}
<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 file ''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 Datei ''TrainProtectionSystems.xml'' bereitgestellt, die bei dem Schema mit enthalten ist. }}
:* {{Enum|ALSEN}} extension of ALSN for speeds up to 200 km/h (Russia, states of former Soviet Union)
:* {{Enum|ALSEN}} extension of ALSN for speeds up to 200 km/h (Russia, states of former Soviet Union)
:* {{Enum|ALSN}} "Автоматическая Локомотивная Сигнализация Непрерывного действия" (Russia, states of former Soviet Union)
:* {{Enum|ALSN}} "Автоматическая Локомотивная Сигнализация Непрерывного действия" (Russia, states of former Soviet Union)
Line 53: Line 53:
|notes_en =
|notes_en =
|notes_de =
|notes_de =
}} {{AddAnn|{{{type|}}}|{{{type_de|}}} }}<noinclude>[[Category:AttributeTemplate]]</noinclude>
}} {{AddAnn|{{{type|}}}|{{{type_de|}}} }}</includeonly><noinclude>
==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==
<nowiki>{{NationalSystemType}}</nowiki>
 
delivers (in a box)
 
{|border="1"
|{{subst:nationalSystemType}}
|}
 
<nowiki>{{NationalSystemType
|notes_en=An English comment on otherAnything.
|notes_de=Ein deutscher Kommentar zu otherAnything.
}}</nowiki>
 
delivers (in a box)
 
{|border="1"
|{{subst:NationalSystemType
|notes_en=An English comment on otherAnything.
|notes_de=Ein deutscher Kommentar zu otherAnything.
}}
|}
[[Category:AttributeTemplate]]</noinclude>

Revision as of 18:44, 15 February 2016

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

{{NationalSystemType}}

delivers (in a box)

{{subst:nationalSystemType}}

{{NationalSystemType |notes_en=An English comment on otherAnything. |notes_de=Ein deutscher Kommentar zu otherAnything. }}

delivers (in a box)

{{subst:NationalSystemType notes_en=An English comment on otherAnything. notes_de=Ein deutscher Kommentar zu otherAnything.

}}