Template:InheritTrainProtectionMedium: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
m (removing double entry "none") |
(Undocumented enumeration items) |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|{{{mediumAttribute|FIXME}}}}}: This specifies the medium used for communication between the train and linside equipment. <br/> {{Deu|Dies gibt den Übertragungsweg für die Informationen von der Strecke zum Fahrzeug an.}} <br/> Possible values are: | <includeonly>* {{Attr|{{{mediumAttribute|FIXME}}}}}: This specifies the medium used for communication between the train and linside equipment. <br/> {{Deu|Dies gibt den Übertragungsweg für die Informationen von der Strecke zum Fahrzeug an.}} <br/> Possible values are: | ||
{{missing information|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 16:36, 25 April 2018 (CEST)|topic=the semantics of the enumeration items}} | |||
:* {{Enum|mechanical}} {{Deu|"mechanisch", z.B. Fahrsperren der Berliner S-Bahn}} | :* {{Enum|mechanical}} {{Deu|"mechanisch", z.B. Fahrsperren der Berliner S-Bahn}} | ||
:* {{Enum|electric}} {{Deu|"elektrisch", z.B. Crocodile in Frankreich, Belgien und Luxemburg}} | :* {{Enum|electric}} {{Deu|"elektrisch", z.B. Crocodile in Frankreich, Belgien und Luxemburg}} |
Revision as of 16:36, 25 April 2018
Usage
This template displays a variable attribute concerning the train protection and lists and comments the possible values none, mechanical, electric, inductive, magnetic, optical, radio and cable. The template allows for an English and a German comment.
Arguments
The template has an obligatory and two optional arguments:
- Obligatory:
- mediumAttribute: The attribute name, e.g. medium
- Optional:
- medium: English comment
- medium_de: German comment
Dependencies
The template depends on Template:Attr, Template:Deu, Template:Enum and Template:AddAnn. Template:InheritTrainProtection builds on it.
Examples
{{InheritTrainProtectionMedium|mediumAttribute=medium}}
delivers
|
{{InheritTrainProtectionMedium |mediumAttribute=medium |medium=English comment |medium_de=Deutscher Kommentar }}
delivers
|
The template is employed e.g. by IS:trainProtectionElement.