Template:Exists: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
This template is designed to serve [[template:robot]]. | This template is designed to serve [[template:robot]]. | ||
==Example== | ==Example== | ||
<pre>{{exists|subschema=CO|element=hasName|version=3.1}}</pre>delivers: | <pre>{{exists|subschema=CO|element=hasName|version=3.1}}.</pre>delivers: | ||
{{exists|subschema=CO|element=hasName|version=3.1}} | {{exists|subschema=CO|element=hasName|version=3.1}}. | ||
<pre>{{exists|subschema=CO|element=hasName|version=3.2}}</pre>delivers: | <pre>{{exists|subschema=CO|element=hasName|version=3.2}}.</pre>delivers: | ||
{{exists|subschema=CO|element=hasName|version=3.2}} | {{exists|subschema=CO|element=hasName|version=3.2}}. | ||
[[Category:Cemplate]]</noinclude> | [[Category:Cemplate]]</noinclude> |
Revision as of 17:54, 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}}.
delivers:
This element does not exist in version 3.1. It only exists in Version(s) ..
{{exists|subschema=CO|element=hasName|version=3.2}}.
delivers:
This element does not exist in version 3.2. It only exists in Version(s) ..