Template:Exists: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Undo revision 9484 by RailML Coord Documentation (talk)) Tag: Undo |
No edit summary |
||
Line 6: | Line 6: | ||
This template is designed to serve [[template:robot]]. | This template is designed to serve [[template:robot]]. | ||
==Example== | ==Example== | ||
<pre>{{exists|subschema= | <pre>{{exists|subschema=RS|element=owner|version=3.1}}</pre>delivers: | ||
{{exists|subschema= | {{exists|subschema=RS|element=owner|version=3.1}} | ||
<pre>{{exists|subschema= | <pre>{{exists|subschema=RS|element=owner|version=3.2}}</pre>delivers: | ||
{{exists|subschema= | {{exists|subschema=RS|element=owner|version=3.2}} | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> |
Revision as of 14:34, 19 June 2024
Template to check if an element exists in a certain version. I yes, the Syntax will be displayed. Otherwise a notice will appear.
This template is designed to serve template:robot.
Example
{{exists|subschema=RS|element=owner|version=3.1}}
delivers:
This element does not exist in version 3.1 within the RS subschema. It only exists in Version(s) 3.2, 3.3.
{{exists|subschema=RS|element=owner|version=3.2}}
delivers:
Documentation | The reference to the organisationalUnit, which owns the vehicle. The designator contains any register ID as per the owner. This may be the national railway vehicle register. The name is any name of the vehicle was given from the owner. |
Subschema | rollingstock |
Parents* | |
Children |
designator (0..*), name (0..*) |
Attributes:
| |
*Notice: Elements may have different parent elements. As a consequence they may be used in different contexts. Please, consider this as well as a user of this Wiki as when developing this documentation further. Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element. |