Template:InheritConnection: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Moved notice about missing semantics. Added annotation about keyref constraint.)
Line 22: 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
| IS:connection_crossing =
| IS:connection_crossing =
{{missing information|topic=the attribute semantics|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 17:17, 15 January 2017 (CET)}}
* {{Attr|orientation}}
* {{Attr|orientation}}
{{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}}
{{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}}
Line 52: Line 52:
|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

Revision as of 21:01, 2 July 2021

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.