Template:InheritPositionWithoutOffset

From railML 2 Wiki
Jump to: navigation, search

Usage

This template lists the attributes pos and absPos. Both of them have obligatory comments and can besides that be commented both in English as in German. For elements that also have the absPosOffset attribute, use Template:InheritPosition.

Arguments

The template has four 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

Dependencies

The template depends on Template:Attr, Template:AddAnn, Template:Depr and Template:IS:Doc. Template:InheritPosition is build on it.

Examples

{{InheritPositionWithoutOffset}}

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>


{{InheritPositionWithoutOffset
|pos=English comment on pos
|pos_de=German comment on pos
|absPos=English comment on absPos
|absPos_de=German comment on absPos
}}

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>


The template is employed by IS:mileageChange.