Template:InheritSwitchCrossing: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Updated using new template (Vorlage:InheritCourse)) |
(Documentation) |
||
Line 1: | Line 1: | ||
{{InheritOcpRef | <includeonly>{{InheritOcpRef | ||
|ocpStationRef = {{{ocpStationRef|}}} | |ocpStationRef = {{{ocpStationRef|}}} | ||
|ocpStationRef_de = {{{ocpStationRef_de|}}} | |ocpStationRef_de = {{{ocpStationRef_de|}}} | ||
Line 22: | Line 22: | ||
* {{Attr|model}} {{AddAnn|{{{model|}}}|{{{model_de|}}} }} | * {{Attr|model}} {{AddAnn|{{{model|}}}|{{{model_de|}}} }} | ||
* {{Attr|length}} {{AddAnn|{{{length|}}}|{{{length_de|}}} }}<noinclude>[[Category:AttributeTemplate]]</noinclude> | * {{Attr|length}} {{AddAnn|{{{length|}}}|{{{length_de|}}} }}</includeonly><noinclude> | ||
==Usage== | |||
This template lists seven attributes concerning switches and lists and obligatory comments for some of them. All attributes can be optionally commented in English and in German. | |||
===Arguments=== | |||
The template allows for fourteen optional arguments: | |||
*ocpStationRef: English comment on ocpStationRef | |||
*ocpStationRef_de: German comment on ocpStationRef | |||
*controllerRef: English comment on controllerRef | |||
*controllerRef_de: German comment on controllerRef | |||
*trackContinueCourse: English comment on trackContinueCourse | |||
*trackContinueCourse_de: German comment on trackContinueCourse | |||
*trackContinueRadius: English comment on trackContinueRadius | |||
*trackContinueRadius_de: German comment on trackContinueRadius | |||
*normalPosition: English comment on normalPosition | |||
*normalPosition_de: German comment on normalPosition | |||
*model: English comment on model | |||
*model_de: German comment on model | |||
*length: English comment on length | |||
*length_de: German comment on length | |||
===Dependencies=== | |||
The template depends on [[Template:InheritOcpRef]], [[Template:InheritCourse]], [[Template:Attr]] and [[Template:AddAnn]]. No other templates build on it. | |||
==Examples== | |||
<pre>{{InheritSwitchCrossing}}</pre> | |||
delivers | |||
{|border="1" | |||
|{{InheritOcpRef | |||
|ocpStationRef = | |||
|ocpStationRef_de = | |||
|controllerRef = | |||
|controllerRef_de = | |||
}} | |||
{{InheritCourse | |||
|attributeName = trackContinueCourse | |||
|notes_en = | |||
|notes_de = | |||
}} | |||
* {{Attr|trackContinueRadius}} {{AddAnn|| }} | |||
{{InheritCourse | |||
|attributeName = normalPosition | |||
|notes_en = | |||
|notes_de = | |||
}} | |||
* {{Attr|model}} {{AddAnn|| }} | |||
* {{Attr|length}} {{AddAnn|| }} | |||
|} | |||
<pre>{{InheritSwitchCrossing | |||
|ocpStationRef=English comment on ocpStationRef | |||
|ocpStationRef_de=German comment on ocpStationRef | |||
|controllerRef=English comment on controllerRef | |||
|controllerRef_de=German comment on controllerRef | |||
|trackContinueCourse=English comment on trackContinueCourse | |||
|trackContinueCourse_de=German comment on trackContinueCourse | |||
|trackContinueRadius=English comment on trackContinueRadius | |||
|trackContinueRadius_de=German comment on trackContinueRadius | |||
|normalPosition=English comment on normalPosition | |||
|normalPosition_de=German comment on normalPosition | |||
|model=English comment on model | |||
|model_de=German comment on model | |||
|length=English comment on length | |||
|length_de=German comment on length | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
|{{InheritOcpRef | |||
|ocpStationRef = English comment on ocpStationRef | |||
|ocpStationRef_de = German comment on ocpStationRef | |||
|controllerRef = English comment on controllerRef | |||
|controllerRef_de = German comment on controllerRef | |||
}} | |||
{{InheritCourse | |||
|attributeName = trackContinueCourse | |||
|notes_en = English comment on trackContinueCourse | |||
|notes_de = German comment on trackContinueCourse | |||
}} | |||
* {{Attr|trackContinueRadius}} {{AddAnn|English comment on trackContinueRadius|German comment on trackContinueRadius }} | |||
{{InheritCourse | |||
|attributeName = normalPosition | |||
|notes_en = English comment on normalPosition | |||
|notes_de = German comment on normalPosition | |||
}} | |||
* {{Attr|model}} {{AddAnn|English comment on model|German comment on model }} | |||
* {{Attr|length}} {{AddAnn|English comment on length|German comment on length }} | |||
|} | |||
The template is employed by [[IS:Crossing]] and [[IS:Switch]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 19:50, 24 February 2016
Usage
This template lists seven attributes concerning switches and lists and obligatory comments for some of them. All attributes can be optionally commented in English and in German.
Arguments
The template allows for fourteen optional arguments:
- ocpStationRef: English comment on ocpStationRef
- ocpStationRef_de: German comment on ocpStationRef
- controllerRef: English comment on controllerRef
- controllerRef_de: German comment on controllerRef
- trackContinueCourse: English comment on trackContinueCourse
- trackContinueCourse_de: German comment on trackContinueCourse
- trackContinueRadius: English comment on trackContinueRadius
- trackContinueRadius_de: German comment on trackContinueRadius
- normalPosition: English comment on normalPosition
- normalPosition_de: German comment on normalPosition
- model: English comment on model
- model_de: German comment on model
- length: English comment on length
- length_de: German comment on length
Dependencies
The template depends on Template:InheritOcpRef, Template:InheritCourse, Template:Attr and Template:AddAnn. No other templates build on it.
Examples
{{InheritSwitchCrossing}}
delivers
|
{{InheritSwitchCrossing |ocpStationRef=English comment on ocpStationRef |ocpStationRef_de=German comment on ocpStationRef |controllerRef=English comment on controllerRef |controllerRef_de=German comment on controllerRef |trackContinueCourse=English comment on trackContinueCourse |trackContinueCourse_de=German comment on trackContinueCourse |trackContinueRadius=English comment on trackContinueRadius |trackContinueRadius_de=German comment on trackContinueRadius |normalPosition=English comment on normalPosition |normalPosition_de=German comment on normalPosition |model=English comment on model |model_de=German comment on model |length=English comment on length |length_de=German comment on length }}
delivers
|
The template is employed by IS:Crossing and IS:Switch.