Template:InheritCourse

From railML 2 Wiki
Jump to navigation Jump to search

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)

  • course track whose radius = ∞ or radius > radius of diverting track. Possible values are:
  • straight
  • left
  • right
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.

{{InheritCourse |attributeName = course |notes_en = seen from the movable points |notes_de = vom Weichenanfang aus gesehen }}

delivers (in a box)

  • course track whose radius = ∞ or radius > radius of diverting track. Possible values are:
  • straight
  • left
  • right
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
    seen from the movable points
    vom Weichenanfang aus gesehen

The template is employed by IXL_Data_Dictionary.