User:RailML Coord Common/Sandbox: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* {{constraint|virtual|xsd|boolean|default=false}}
{| 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]]
|}


* <tt>'''<span id=ruleCode>ruleCode</span>'''</tt>: {{XsdType|string}}
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.
* <tt>'''<span id=sigSystem>sigSystem</span>'''</tt>: {{xsdType|string}}
* <tt>'''<span id=switchable>switchable</span>'''</tt> {{XsdType|boolean}}, mandatory
* <tt>'''<span id=maskableRoute>maskableRoute</span>'''</tt> {{XsdType|boolean}}, optional
* <tt>'''<span id=maskableATC>maskableATC</span>'''</tt> {{XsdType|boolean}}, optional
* <tt>'''<span id=xml:lang>xml:lang</span>'''</tt>: {{XsdType|language}}, {{external|https://www.w3.org/TR/xml/#sec-lang-tag|language identification}}, optional


* {{constraint|pos|rml|tLengthM|required}}; must be greater than or equal to zero, less than or equal to the track's length <br/> {{Ann|  }}


* <tt>'''<span id=distNearestDangerPoint>distNearestDangerPoint</span>'''</tt>: {{railMLType|tLengthM}}
<syntaxhighlight lang=xml>
* <tt>'''<span id=trackDist>trackDist</span>'''</tt>: {{railMLType|tLengthM}}
<baseItinerary id="bi-3">
* <tt>'''<span id=height>height</span>'''</tt>: {{railMLType|tLengthM}}
<baseItineraryPoint id="bp-5" locationRef="op-73"> ... </baseItineraryPoint>
* <tt>'''<span id=numberOfLamps>numberOfLamps</span>'''</tt> {{XsdType|nonNegativeInteger}}, optional
<baseItineraryPoint id="bp-6" locationRef="op-44"> ... </baseItineraryPoint>
* <tt>'''<span id=mountedOn>mountedOn</span>'''</tt>: enumeration, optional
<baseItineraryPoint id="bp-7" locationRef="op-35"> ... </baseItineraryPoint>
* <tt>'''<span id=positionAtTrack>positionAtTrack</span>'''</tt>: {{railMLType|tSide}}, optional
</baseItinerary>
* <tt>'''<span id=absPos>absPos</span>'''</tt>: {{railMLType|tLengthM}}; optional <br/> {{Ann|  }}
 
* <tt>'''<span id=absPosOffset>absPosOffset</span>'''</tt>: {{railMLType|tLengthM}}; optional
<ocpsTT>
* <tt>'''<span id=ocpStationRef>ocpStationRef</span>'''</tt> {{RailMLType|tGenericRef}}, optional
<ocpTT sequence="1" ocpRef="ocp-73"> ... </ocpsTT>
* <tt>'''<span id=controllerRef>controllerRef</span>'''</tt> {{RailMLType|tGenericRef}}, optional
<ocpTT sequence="2" ocpRef="ocp-44"> ... </ocpsTT>
* <tt>'''<span id=code>code</span>'''</tt>: {{RailMLType|tGenericName}}, optional
<ocpTT sequence="3" ocpRef="ocp-35"> ... </ocpsTT>
* <tt>'''<span id=name>name</span>'''</tt>: {{RailMLType|tGenericName}}, optional
</ocpsTT>
* <tt>'''<span id=description>description</span>'''</tt>: {{RailMLType|tElementDescription}}, optional
</syntaxhighlight>
* <tt>'''<span id=dir>dir</span>'''</tt>: {{railMLType|tLaxDirection}}; optional
* <tt>'''<span id=sight>sight</span>'''</tt>: {{railMLType|tLengthM}}
* <tt>'''<span id=signalBoxOcpRef>signalBoxOcpRef</span>'''</tt>: {{RailMLType|tGenericRef}}, optional
* <tt>'''<span id=stationOcpRef>stationOcpRef</span>'''</tt>: {{RailMLType|tGenericRef}}, optional
* <tt>'''<span id=type>type</span>'''</tt>: {{railMLType|tSignalType}}, optional
* <tt>'''<span id=function>function</span>'''</tt>: {{railMLType|tSignalFunction}}, optional
* <tt>'''<span id=id>id</span>'''</tt>: {{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 (_)

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>