Difference between revisions of "Template:InheritPositionConstraints"

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(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 00:15, 5 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: xs:decimal, 6 fraction digits, length value measured in meter; optional
  • absPosOffset: xs:decimal, 6 fraction digits, length value measured in meter; optional