Template:InheritOcpNameType

From railML 2 Wiki
Jump to navigation Jump to search

Usage

This template displays an attribute type and its possible values operationalName, trafficName, localName and, as a wildcard, other:anything. It allows for optional comments in English and German.

Arguments

The template has two optional arguments:

  • type: an English comment on type.
  • type_de: a German comment on type.

Dependencies

The template depends on Template:Attr, Template:Enum, Template:IS:Doc, Template:OtherEnum and Template:AddAnn. There are no other templates building on it.

Examples

{{InheritOcpNameType}}

delivers (in a box)

  • type: This is the meaning of the name. Possible values are:
    • operationalName the ocps name under operational aspects
    • trafficName the ocps name under traffic aspects
    • localName an name in the local language
    • 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.

{{InheritOcpNameType |type=An English comment. |type_de=Ein deutscher Kommentar. }}

delivers (in a box)

  • type: This is the meaning of the name. Possible values are:
    • operationalName the ocps name under operational aspects
    • trafficName the ocps name under traffic aspects
    • localName an name in the local language
    • 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.

    An English comment.
    Ein deutscher Kommentar.

The template is employed e.g. by IS:ocp.