Template:InheritPositionConstraints: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Outsourced @pos and @absPos to Template:InheritPositionConstraintsWithoutOffset, which can be used on IS:mileageChange)
 
Line 1: Line 1:
*{{constraint|pos|rml|tLengthM|required}}; must be greater than or equal to zero, less than or equal to the track's length <br/> {{Ann| {{{pos|}}} }}
{{InheritPositionConstraintsWithoutOffset|
* {{Attr|absPos}}: {{railMLType|tLengthM}}; optional <br/> {{Ann| {{{absPos|}}} }}
pos{{#if:{{{pos|}}}||UNDEFINED}}={{{pos}}}|
absPos{{#if:{{{absPos|}}}||UNDEFINED}}={{{absPos}}}
}}
* {{Attr|absPosOffset}}: {{railMLType|tLengthM}}; optional<noinclude>[[Category:ConstraintsTemplate]]</noinclude>
* {{Attr|absPosOffset}}: {{railMLType|tLengthM}}; optional<noinclude>[[Category:ConstraintsTemplate]]</noinclude>

Latest revision as of 23:15, 4 February 2019

  • pos: tLengthM (xs:decimal, 6 fraction digits, length value measured in meter); required; must be greater than or equal to zero, less than or equal to the track's length
  • absPos: tLengthM (xs:decimal, 6 fraction digits, length value measured in meter); optional
  • absPosOffset: xs:decimal, 6 fraction digits, length value measured in meter; optional