Template:Exists: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(Linkfix) |
||
Line 14: | Line 14: | ||
{{exists|subschema=CO|element=hasName|version=3.2}} | {{exists|subschema=CO|element=hasName|version=3.2}} | ||
[[Category: | [[Category:Template]]</noinclude> |
Latest revision as of 18:19, 20 March 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=CO|element=hasName|version=3.1}}
delivers:
This element does not appear in railML® 3.1 within the CO subschema. It is available only in railML® . There exists an element <generic:hasName> that might have replaced it. Do not hesitate to contact railML.org for further questions.
{{exists|subschema=CO|element=hasName|version=3.2}}
delivers:
This element does not appear in railML® 3.2 within the CO subschema. It is available only in railML® . There exists an element <generic:hasName> that might have replaced it. Do not hesitate to contact railML.org for further questions.