Template:InheritCourse: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(added definition to trackContinueCourse because was missing (2)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|{{{attributeName|FIXME}}} }} Possible values are: | <includeonly>* {{Attr|{{{attributeName|FIXME}}} }} Possible values are: | ||
:* {{Enum|straight}} straight leg (no curve) of the switch | |||
:* {{Enum|straight}} | :* {{Enum|left}} left curved leg of switch | ||
:* {{Enum|left}} | :* {{Enum|right}} right curved leg of switch | ||
:* {{Enum|right}} | |||
:* {{OtherEnum | :* {{OtherEnum | ||
|notes_en = | |notes_en = | ||
Line 25: | Line 24: | ||
{|border="1" | {|border="1" | ||
| | | | ||
* {{Attr|course }} Possible values are: | * {{Attr|course }} track whose radius = ∞ or radius > radius of diverting track. Possible values are: | ||
:* {{Enum|straight}} | :* {{Enum|straight}} | ||
:* {{Enum|left}} | :* {{Enum|left}} | ||
Line 44: | Line 43: | ||
{|border="1" | {|border="1" | ||
| | | | ||
* {{Attr|course }} Possible values are: | * {{Attr|course }} track whose radius = ∞ or radius > radius of diverting track. Possible values are: | ||
:* {{Enum|straight}} | :* {{Enum|straight}} | ||
:* {{Enum|left}} | :* {{Enum|left}} |
Latest revision as of 16:22, 25 September 2023
Usage
This template depicts a variable attribute name refering to a course and its list of possible values straight, left, right and other:anything. It allows for English and German comments on other:anything.
Attributes
The template has one obligatory and two optional arguments:
- obligatory:
- attributeName: The name of the described attribute
- optional:
- notes_en: an English comment
- notes_de: a German comment
Dependencies
The template depends on Template:Attr, Template:Enum, Template:OtherEnum and Template:AddAnn. Template:InheritSwitchCrossing builds on it.
Examples
{{InheritCourse|attributeName=course}}
delivers (in a box)
|
{{InheritCourse |attributeName = course |notes_en = seen from the movable points |notes_de = vom Weichenanfang aus gesehen }}
delivers (in a box)
|
The template is employed by IXL_Data_Dictionary.