Template:InheritOperationMode: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Parameter, new template (Vorlage:AddAnn) added) |
(Documentation) |
||
Line 1: | Line 1: | ||
* {{Attr|modeLegislative}} {{AddAnn|{{{modeLegislative|}}}|{{{modeLegislative_de|}}} }} | <includeonly>* {{Attr|modeLegislative}} {{AddAnn|{{{modeLegislative|}}}|{{{modeLegislative_de|}}} }} | ||
* {{Attr|modeExecutive}} {{AddAnn|{{{modeExecutive|}}}|{{{modeExecutive_de|}}} }} | * {{Attr|modeExecutive}} {{AddAnn|{{{modeExecutive|}}}|{{{modeExecutive_de|}}} }} | ||
Line 12: | Line 12: | ||
|notes_en = | |notes_en = | ||
|notes_de = | |notes_de = | ||
}}{{AddAnn|{{{clearanceManaging|}}}|{{{clearanceManaging_de|}}} }}<noinclude>[[Category:AttributeTemplate]]</noinclude> | }}{{AddAnn|{{{clearanceManaging|}}}|{{{clearanceManaging_de|}}} }}</includeonly><noinclude> | ||
==Usage== | |||
This template lists the attributes ''modeLegislative'', ''modeExecutive'' and ''clearanceManaging''. For clearanceManaging, the possible values are listed. All atributes can be commented both in English and German. | |||
===Arguments=== | |||
The template has six optional arguments: | |||
*modeLegislative: English comment on modeLegislative | |||
*modeLegislative_de: German comment on modeLegislative | |||
*modeExecutive: English comment on modeExecutive | |||
*modeExecutive_de: German comment on modeExecutive | |||
*clearanceManaging: English comment on clearanceManaging | |||
*clearanceManaging_de: German comment on clearanceManaging | |||
===Dependencies=== | |||
The template employs [[Template:Attr]], [[Template:AddAnn]], [[Template:Enum]] and [[Template:OtherEnum]]. No other templates depend on it. | |||
==Example== | |||
<nowiki>{{InheritOperationMode}}</nowiki> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|modeLegislative}} {{AddAnn|| }} | |||
* {{Attr|modeExecutive}} {{AddAnn|| }} | |||
* {{Attr|clearanceManaging}} Possible values are: | |||
:* {{Enum|sight}} | |||
:* {{Enum|time}} | |||
:* {{Enum|blocking}} | |||
:* {{Enum|LZB-blocking}} | |||
:* {{Enum|absBrakeDist}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}}{{AddAnn|| }} | |||
|} | |||
<pre>{{InheritOperationMode | |||
|modeLegislative=English comment on modeLegislative | |||
|modeLegislative_de=German comment on modeLegislative | |||
|modeExecutive=English comment on modeExecutive | |||
|modeExecutive_de=German comment on modeExecutive | |||
|clearanceManaging=English comment on clearanceManaging | |||
|clearanceManaging_de=German comment on clearanceManaging | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|modeLegislative}} {{AddAnn|English comment on modeLegislative|German comment on modeLegislative }} | |||
* {{Attr|modeExecutive}} {{AddAnn|English comment on modeExecutive|German comment on modeExecutive }} | |||
* {{Attr|clearanceManaging}} Possible values are: | |||
:* {{Enum|sight}} | |||
:* {{Enum|time}} | |||
:* {{Enum|blocking}} | |||
:* {{Enum|LZB-blocking}} | |||
:* {{Enum|absBrakeDist}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}}{{AddAnn|English comment on clearanceManaging|German comment on clearanceManaging }} | |||
|} | |||
The template is employed by [[IS:operationMode]] and [[IS:operationModeChange]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 16:32, 22 February 2016
Usage
This template lists the attributes modeLegislative, modeExecutive and clearanceManaging. For clearanceManaging, the possible values are listed. All atributes can be commented both in English and German.
Arguments
The template has six optional arguments:
- modeLegislative: English comment on modeLegislative
- modeLegislative_de: German comment on modeLegislative
- modeExecutive: English comment on modeExecutive
- modeExecutive_de: German comment on modeExecutive
- clearanceManaging: English comment on clearanceManaging
- clearanceManaging_de: German comment on clearanceManaging
Dependencies
The template employs Template:Attr, Template:AddAnn, Template:Enum and Template:OtherEnum. No other templates depend on it.
Example
{{InheritOperationMode}}
delivers
|
{{InheritOperationMode |modeLegislative=English comment on modeLegislative |modeLegislative_de=German comment on modeLegislative |modeExecutive=English comment on modeExecutive |modeExecutive_de=German comment on modeExecutive |clearanceManaging=English comment on clearanceManaging |clearanceManaging_de=German comment on clearanceManaging }}
delivers
|
The template is employed by IS:operationMode and IS:operationModeChange.