Template:InheritTrainProtectionMedium: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Documentation) |
|||
Line 63: | Line 63: | ||
:* {{Enum|none}} It is used if there is no train protection. {{AddAnn|English comment|Deutscher Kommentar }} | :* {{Enum|none}} It is used if there is no train protection. {{AddAnn|English comment|Deutscher Kommentar }} | ||
|} | |} | ||
The template is employed e.g. by [[IS:trainProtectionElement]]. | |||
[[Category:AttributeTemplate]]</noinclude> | [[Category:AttributeTemplate]]</noinclude> |
Revision as of 13:52, 25 February 2016
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.