User:RailML Coord Common/Sandbox: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable"
! Markup
! Renders as
|-
|
<nowiki>Using a specific interwiki link [[railml3:User:Thomas_Nygreen]]
will override a later instance of the interwiki template {{interwiki}}
or a later specific interwiki link. [[railml3:Main Page]]</nowiki>
|
Using a specific interwiki link [[railml3:User:Thomas_Nygreen]]
will override a later instance of the interwiki template {{interwiki}}
or a later specific interwiki link. [[railml3:Main Page]]
|}


*{{constraint|pos|rml|tLengthM|required}}; must be greater than or equal to zero, less than or equal to the track's length <br/> {{Ann|  }}
No links are displayed in the text and only one interwiki link (the first) will be displayed in the "In other languages" section in the left panel.
* {{Attr|absPos}}: {{railMLType|tLengthM}}; optional <br/> {{Ann|  }}
* {{Attr|id}}: {{RailMLType|tGenericID}}, required<br>a string, starting with a letter (a..zA..Z) or an underscore (_), <br>followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
* {{Attr|xml:lang}}: {{XsdType|language}}, {{external|https://www.w3.org/TR/xml/#sec-lang-tag|language identification}}, optional


* {{Attr|absPosOffset}}: {{railMLType|tLengthM}}; optional
* {{Attr|ocpStationRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|controllerRef}} {{RailMLType|tGenericRef}}, optional
<syntaxhighlight lang=xml>
<baseItinerary id="bi-3">
<baseItineraryPoint id="bp-5" locationRef="op-73"> ... </baseItineraryPoint>
<baseItineraryPoint id="bp-6" locationRef="op-44"> ... </baseItineraryPoint>
<baseItineraryPoint id="bp-7" locationRef="op-35"> ... </baseItineraryPoint>
</baseItinerary>


* {{Attr|code}}: {{RailMLType|tGenericName}}, optional
<ocpsTT>
* {{Attr|name}}: {{RailMLType|tGenericName}}, optional
<ocpTT sequence="1" ocpRef="ocp-73"> ... </ocpsTT>
* {{Attr|description}}: {{RailMLType|tElementDescription}}, optional
<ocpTT sequence="2" ocpRef="ocp-44"> ... </ocpsTT>
* {{Attr|dir}}: {{railMLType|tLaxDirection}}; optional
<ocpTT sequence="3" ocpRef="ocp-35"> ... </ocpsTT>
* {{attr|sight}}: {{railMLType|tLengthM}}
</ocpsTT>
* {{Attr|signalBoxOcpRef}}: {{RailMLType|tGenericRef}}, optional
</syntaxhighlight>
* {{Attr|stationOcpRef}}: {{RailMLType|tGenericRef}}, optional
* {{Attr|type}}: {{railMLType|tSignalType}}, optional
* {{Attr|function}}: {{railMLType|tSignalFunction}}, optional
 
* {{Attr|ruleCode}}: {{XsdType|string}}
* {{attr|sigSystem}}: {{xsdType|string}}
* {{Attr|switchable}} {{XsdType|boolean}}, mandatory
* {{Attr|maskableRoute}} {{XsdType|boolean}}, optional
* {{Attr|maskableATC}} {{XsdType|boolean}}, optional
 
* {{constraint|virtual|xsd|boolean|default=false}}
 
* {{attr|distNearestDangerPoint}}: {{railMLType|tLengthM}}
* {{attr|trackDist}}: {{railMLType|tLengthM}}
* {{attr|height}}: {{railMLType|tLengthM}}
* {{attr|numberOfLamps}} {{XsdType|nonNegativeInteger}}, optional
* {{attr|mountedOn}}: enumeration, optional
* {{attr|positionAtTrack}}: {{railMLType|tSide}}, optional

Latest revision as of 13:45, 7 November 2023

Markup Renders as
Using a specific interwiki link [[railml3:User:Thomas_Nygreen]]
will override a later instance of the interwiki template {{interwiki}}
or a later specific interwiki link. [[railml3:Main Page]]

Using a specific interwiki link will override a later instance of the interwiki template or a later specific interwiki link.

No links are displayed in the text and only one interwiki link (the first) will be displayed in the "In other languages" section in the left panel.


<baseItinerary id="bi-3">
	<baseItineraryPoint id="bp-5" locationRef="op-73"> ... </baseItineraryPoint>
	<baseItineraryPoint id="bp-6" locationRef="op-44"> ... </baseItineraryPoint>
	<baseItineraryPoint id="bp-7" locationRef="op-35"> ... </baseItineraryPoint>
</baseItinerary>

<ocpsTT>
	<ocpTT sequence="1" ocpRef="ocp-73"> ... </ocpsTT>
	<ocpTT sequence="2" ocpRef="ocp-44"> ... </ocpsTT>
	<ocpTT sequence="3" ocpRef="ocp-35"> ... </ocpsTT>
</ocpsTT>