Template:InheritConnection: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(railML→{{rml}})
 
(31 intermediate revisions by 4 users not shown)
Line 4: Line 4:
|parent = {{{parentLink|FIXME}}}
|parent = {{{parentLink|FIXME}}}
|childs={{#if:{{{childs|}}}|{{{childs}}}|''None''}}
|childs={{#if:{{{childs|}}}|{{{childs}}}|''None''}}
|minocc={{{minocc|1}}}
|maxocc={{{maxocc|1}}}
|semantics =
|semantics =
A {{{selfLink|FIXME}}} is an element to determine which branches of a {{IS:Doc|track}} are connected at a certain position. {{AddAnn|{{{semantics_en|}}}|{{{semantics_de|}}} }}
A {{{selfLink|FIXME}}} is an element to determine which branches of a {{IS:Doc|track}} are connected at a certain position. {{AddAnn|{{{semantics_en|}}}|{{{semantics_de|}}} }}
Line 20: Line 22:
<!--|ownAttributes={{#if:{{{ownAttributes|}}}|{{{ownAttributes}}}|''None''}}-->
<!--|ownAttributes={{#if:{{{ownAttributes|}}}|{{{ownAttributes}}}|''None''}}-->
|ownAttributes =
|ownAttributes =
{{missing information|topic=the attribute semantics|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 17:17, 15 January 2017 (CET)}}
{{#switch: {{FULLPAGENAMEE}}
{{#switch: {{FULLPAGENAMEE}}
| IS:connection_switch
| IS:connection_switch =<noinclude>
| IS:connection_crossing =
************************************************
* {{Attr|orientation}}
Content to be shown on page IS:connection_switch
{{missing information|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 16:28, 25 April 2018 (CEST)|topic=the semantics of the enumeration items}}
************************************************
:* {{Enum|incoming}}
</noinclude>
:* {{Enum|outgoing}}
* {{Attr|orientation}}: Orientation of the switch element relative to general track direction (aligned with increasing mileage) <ref name="Norway">{{external|https://www.jernbanedirektoratet.no/globalassets/documenter/railml/20220617_railml2.4norismodel_v1.5.xlsx|Jernbanedirektoratet {{rml|2.4}} glossary}}</ref>
:* {{Enum|rightAngled}}
:* {{Enum|incoming}}: A track is merging into the principal track, tracks are converging relative to the direction <ref name="Norway" />
:* {{Enum|unknown}}
:* {{Enum|outgoing}}: A track is splitting out from the principal track, tracks are diverging relative to the direction <ref name="Norway" />
:* {{Enum|rightAngled}}: semantics unclear.  Please try to avoid and refer to official examples [[Dev:Connection_between_tracks]]
:* {{Enum|unknown}}: The direction is not known
 
:* {{OtherEnum
:* {{OtherEnum
|notes_en = {{{orientation|}}}
|notes_en = {{{orientation|}}}
|notes_de = {{{orientation_de|}}}
|notes_de = {{{orientation_de|}}}
}}
}}
* {{Attr|course}}
* {{Attr|course}}: Relative direction of a converging/diverging track connection facilitated by a switch in a crossing. Course is always defined relative to the switch element (i.e. to stock rail), regardless of global track direction. <ref name="Norway" />
{{missing information|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 16:28, 25 April 2018 (CEST)|topic=the semantics of the enumeration items}}
:* {{Enum|straight}} semantics is not clear. Please try to avoid and refer to official examples [[Dev:Connection_between_tracks]]
:* {{Enum|straight}}
:* {{Enum|left}}: A switch track is merging from the left or is diverging leftward from the principal track <ref name="Norway" />
:* {{Enum|left}}
:* {{Enum|right}}: A switch track is merging from the right or is diverging rightward from the principal track <ref name="Norway" />
:* {{Enum|right}}
:* {{OtherEnum
:* {{OtherEnum
|notes_en = {{{course|}}}
|notes_en = {{{course|}}}
|notes_de = {{{course_de|}}}
|notes_de = {{{course_de|}}}
}}
}}
* {{Attr|radius}} {{AddAnn|{{{radius|}}}|{{{radius_de|}}} }}
* {{Attr|radius}}: Radius of the curve with which the switch rails converge into or diverge from the principal track, measured from an imaginary center of a circle. Value will usually be non-zero. <ref name="Norway" />
* {{Attr|maxSpeed}} {{AddAnn|{{{maxSpeed|}}}|{{{maxSpeed_de|}}} }}
{{AddAnn|{{{radius|}}}|{{{radius_de|}}} }}
* {{Attr|maxSpeed}}: Speed restriction on a switch when used in a deflecting direction, i.e. when merging onto or diverging from a principal track <ref name="Norway" />
{{AddAnn|{{{maxSpeed|}}}|{{{maxSpeed_de|}}} }}
* {{Attr|passable}} {{AddAnn|{{{passable|}}}|{{{passable_de|}}} }}
* {{Attr|passable}} {{AddAnn|{{{passable|}}}|{{{passable_de|}}} }}
* {{Attr|branchDist}} {{Depr|2.1}}
* {{Attr|branchDist}} {{Depr|2.1}} Since originally no separate, connecting track element was allowed, a special attribute denoted the length of the connection. See [[Dev:Connection_between_tracks]].
| IS:connection_crossing =<noinclude>
**************************************************
Content to be shown on page IS:connection_crossing
**************************************************
</noinclude>
* {{Attr|orientation}}: Orientation of the switch element relative to general track direction (aligned with increasing mileage) <ref name="Norway">{{external|https://www.jernbanedirektoratet.no/globalassets/documenter/railml/20220617_railml2.4norismodel_v1.5.xlsx|Jernbanedirektoratet {{rml|2.4}} glossary}}</ref>
:* {{Enum|incoming}}: A track is merging into the principal track, tracks are converging relative to the direction <ref name="Norway" />
:* {{Enum|outgoing}}: A track is splitting out from the principal track, tracks are diverging relative to the direction <ref name="Norway" />
:* {{Enum|rightAngled}}: related to the "crossing"  connection. Right-angled crossing has four frogs, four guard rails, one inner guard closed rail etc. <ref>О.М. Даренський З`єднання і схрещення залізничних колій</ref>
:* {{Enum|unknown}}: The direction is not known
 
:* {{OtherEnum
|notes_en = {{{orientation|}}}
|notes_de = {{{orientation_de|}}}
}}
* {{Attr|course}}: Relative direction of a converging/diverging track connection facilitated by a switch in a crossing. Course is always defined relative to the switch element (i.e. to stock rail), regardless of global track direction. <ref name="Norway" />
:* {{Enum|straight}} semantics is not clear. Please try to avoid and refer to the official examples [[Dev:Connection_between_tracks]]
:* {{Enum|left}}: A switch track is merging from the left or is diverging leftward from the principal track <ref name="Norway" />
:* {{Enum|right}}: A switch track is merging from the right or is diverging rightward from the principal track <ref name="Norway" />
:* {{OtherEnum
|notes_en = {{{course|}}}
|notes_de = {{{course_de|}}}
}}
* {{Attr|radius}}: Radius of the curve with which the switch rails converge into or diverge from the principal track, measured from an imaginary center of a circle. Value will usually be non-zero. <ref name="Norway" />
{{AddAnn|{{{radius|}}}|{{{radius_de|}}} }}
* {{Attr|maxSpeed}}: Speed restriction on a switch when used in a deflecting direction, i.e. when merging onto or diverging from a principal track <ref name="Norway" />
{{AddAnn|{{{maxSpeed|}}}|{{{maxSpeed_de|}}} }}
* {{Attr|passable}} {{AddAnn|{{{passable|}}}|{{{passable_de|}}} }}
* {{Attr|branchDist}} {{Depr|2.1}} Since originally no separate, connecting track element was allowed, a special attribute denoted the length of the connection. See [[Dev:Connection_between_tracks]].
}}
}}
|constraints =
|constraints =
{{InheritIdConstraints}}
{{InheritIdConstraints}}
*{{constraint|ref|rml|tGenericRef|required}}
*{{constraint|ref|rml|tGenericRef|required}} {{AddAnn|Must point to the {{Attr|id}} of another {{IS:Tag|connection}}}}
{{#switch: {{FULLPAGENAMEE}}
{{#switch: {{FULLPAGENAMEE}}
|IS:connection_switch
|IS:connection_switch =<noinclude>
|IS:connection_crossing =
************************************************
Content to be shown on page IS:connection_switch
************************************************
</noinclude>
*{{constraint|orientation|rml|tConnectionOrientation|required}}
*{{constraint|course|rml|tCourse}}
*{{constraint|radius|rml|tRadiusM}} {{intro|2.4}}{{note|Until {{rml}} 2.3: tLengthM ({{RailMLType|tLengthM}}) {{depr|2.3}}}}
*{{constraint|maxSpeed|rml|tSpeedKmPerHour}}
*{{constraint|passable|xsd|boolean|default=TRUE}}
*{{constraint|branchDist|rml|tLengthM}}
|IS:connection_crossing =<noinclude>
**************************************************
Content to be shown on page IS:connection_crossing
**************************************************
</noinclude>
*{{constraint|orientation|rml|tConnectionOrientation|required}}
*{{constraint|orientation|rml|tConnectionOrientation|required}}
*{{constraint|course|rml|tCourse}}
*{{constraint|course|rml|tCourse}}
*{{constraint|radius|rml|tRadiusM}} {{intro|2.4}}{{note|Until {{rml}} 2.3: {{RailMLType|tLengthM}} {{depr|2.3}}}}
*{{constraint|radius|rml|tRadiusM}} {{intro|2.4}}{{note|Until {{rml}} 2.3: tLengthM ({{RailMLType|tLengthM}}) {{depr|2.3}}}}
*{{constraint|maxSpeed|rml|tSpeedKmPerHour}}
*{{constraint|maxSpeed|rml|tSpeedKmPerHour}}
*{{constraint|passable|xsd|boolean|default=TRUE}}
*{{constraint|passable|xsd|boolean|default=TRUE}}
Line 62: Line 110:
}} {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
}} {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
|notes = {{AddAnn|{{{notes_en|None.}}}|{{{notes_de|}}} }}
|notes = {{AddAnn|{{{notes_en|None.}}}|{{{notes_de|}}} }}
|bestpractice={{{bestpractice|}}}
|example=
|example =
Please also refer to [[Dev:Connection_between_tracks]] for information on how to use connections and switches/crossings.
}}</includeonly><noinclude>{{TemplateDocu}}</noinclude>
}}</includeonly><noinclude>{{TemplateDocu}}</noinclude>

Latest revision as of 20:41, 22 January 2024

Usage

This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.

Arguments

As this is a bulk documentation, we do not explain the specific arguments of element templates.

Dependencies

As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.

Example

As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.