Template:InheritOcpRef: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 3: Line 3:
|contextLink = {{IS:Tag|ocp}}
|contextLink = {{IS:Tag|ocp}}
|notes_en = {{Intro|2.1}}, it refers to an {{IS:Doc|ocp}} whose {{Attr|operationalType}} equal '{{Enum|station}}'. {{#if:{{{ocpStationRef|}}}|<br/>{{{ocpStationRef}}}|}}
|notes_en = {{Intro|2.1}}, it refers to an {{IS:Doc|ocp}} whose {{Attr|operationalType}} equal '{{Enum|station}}'. {{#if:{{{ocpStationRef|}}}|<br/>{{{ocpStationRef}}}|}}
|notes_de = {{#if:{{{ocpStationRef_de|}}}|<br/>{{Deu|{{{ocpStationRef_de}}}}}|}}
|notes_de = {{#if:{{{ocpStationRef_de|}}}|{{Deu|{{{ocpStationRef_de}}}}}|}}
}}
}}



Revision as of 19:57, 21 February 2016

Usage

This template lists the commented attributes ocpStationRef and controllerRef. It allows for optional comments for both attributes both in Englishg and German.

Arguments

The template has four optional arguments:

  • ocpStationRef: English comment on ocpStationRef
  • ocpStationRef_de: German Comment on ocpSttationRef
  • controllerRef: English comment on controllerRef
  • controllerRef_de: German comment on controllerRef

Dependencies

The template depends on Template:InheritRef, Templat:Intro, Template:IS:Tag, Template:IS:Doc, Template:Attr, Template:Enum and Template:AddAnn. Template:InheritSwitchCrossing builds on it.

Example