Template:InheritCourse: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(adding notes about values of Switch course) |
||
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 = |
Revision as of 12:44, 30 May 2018
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.