Template:Exists: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 7: Line 7:


{{exists|subschema=CO|element=hasName|version=3.1}}
{{exists|subschema=CO|element=hasName|version=3.1}}
{{versionen|CO:hasName}}
{{versionen|CO:hasName_}}


[[Category:Cemplate]]</noinclude>
[[Category:Cemplate]]</noinclude>

Revision as of 17:34, 28 May 2021

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}}

liefert:

This element does not exist in version 3.1. It only exists in Version(s) .