Template:InheritPosition: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Documentation) |
(Attr. absPosOffset entfernt: Veraltet vor v2.2) |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|pos}}: This is the position on a [[IS:track|track]] defined as distance from its [[IS:trackBegin | start (trackBegin)]] regardless the "absolute mileage" in {{Attr|absPos}}. {{AddAnn|{{{pos|}}}|{{{pos_de|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.}}} }} | <includeonly>* {{Attr|pos}}: This is the position on a [[IS:track|track]] defined as distance from its [[IS:trackBegin | start (trackBegin)]] regardless the "absolute mileage" in {{Attr|absPos}}. {{AddAnn|{{{pos|}}}|{{{pos_de|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.}}} }} | ||
* {{Attr|absPos}}: This is the position on a track as absolute mileage/chainage. {{AddAnn|{{{absPos|}}}|{{{absPos_de|Das ist die Position des Elements im Referenzsystem der Strecken-Kilometrierung. | * {{Attr|absPos}}: This is the position on a track as absolute mileage/chainage. {{AddAnn|{{{absPos|}}}|{{{absPos_de|Das ist die Position des Elements im Referenzsystem der Strecken-Kilometrierung.}}} }}</includeonly><noinclude> | ||
==Usage== | ==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. | 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. |
Revision as of 18:06, 21 July 2017
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 Templat:Attr, Template:AddAnn, Template:Depr and Template:IS:Doc. No other templates build on it.
Examples
{{InheritPosition}}
delivers
|
{{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
|
The template is employed e.g. by IS:balise.