Template:InheritOcpNameType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><ul>
<includeonly><ul>
<li>{{Attr|type}}: This is the meaning of the name. Possible values are:
<li>{{Attr|type}}: {{{introNote|}}} This is the meaning of the name. Possible values are:
* {{Enum|operationalName}} the {{IS:Doc|ocp}}s name under operational aspects
* {{Enum|operationalName}} the {{IS:Doc|ocp}}s name under operational aspects
* {{Enum|trafficName}} the {{IS:Doc|ocp}}s name under traffic aspects
* {{Enum|trafficName}} the {{IS:Doc|ocp}}s name under traffic aspects

Latest revision as of 15:39, 7 July 2022

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.