Template:InheritPosition

From railML 2 Wiki
Jump to navigation Jump to search

Usage

This template lists the attributes pos, absPos and absPosOffset. All of them have obligatory comments and can besides that be commented both in English as in German.

Arguments

The template has six optional arguments:

  • pos: English comment on pos
  • pos_de: German comment on pos — with a default comment
  • absPos: English comment on absPos
  • absPos_de: German comment on absPos — with a default comment
  • absPosOffset: English comment on absPosOffset
  • absPosOffset_de: German comment on absPosOffset

Dependencies

The template depends on Template:InheritPositionWithoutOffset, Template:Attr, Template:AddAnn, Template:Depr and Template:IS:Doc. No other templates build on it.

Examples

{{InheritPosition}}

delivers


  • pos: This is the position on a track defined as distance from its start (trackBegin) regardless the "absolute mileage" in @absPos.
    Das ist die Position des Elements auf einem Track i.S. der realen Entfernung zum trackBegin. Sie ist damit unabhängig von der mit absPos modellierten Strecken-Kilometrierung.
Note.png For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPos: This is the position on a track as absolute mileage/chainage.
    Das ist die Position des Elements im Referenzsystem der Strecken-Kilometrierung.
Note.png For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPosOffset (deprecated with version 2.1): The semantics of this attribute aren't very clear. It seems to be redundant to the definitions with mileageChanges in "overlapping regions".
{{InheritPosition
|pos=English comment on pos
|pos_de=German comment on pos
|absPos=English comment on absPos
|absPos_de=German comment on absPos
|absPosOffset=English comment on absPosOffset
|absPosOffset_de=German comment on absPosOffset
}}

delivers


  • pos: This is the position on a track defined as distance from its start (trackBegin) regardless the "absolute mileage" in @absPos.
    English comment on pos
    German comment on pos
Note.png For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPos: This is the position on a track as absolute mileage/chainage.
    English comment on absPos
    German comment on absPos
Note.png For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPosOffset (deprecated with version 2.1): The semantics of this attribute aren't very clear. It seems to be redundant to the definitions with mileageChanges in "overlapping regions".
    English comment on absPosOffset
    German comment on absPosOffset

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