Template:Exists
Jump to navigation
Jump to search
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. It is available only in railML® . 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. It is available only in railML® . Do not hesitate to contact railML.org for further questions.