Template:Exists: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Created page with "<includeonly>{{#ifexist:{{duplicate|subschema={{{subschema}}}|element={{{element}}}|parent={{{parent|}}}}}/{{{version}}}|{{:{{duplicate|subschema={{{subschema}}}|element={{{el...")
 
No edit summary
Line 3: Line 3:


This template is designed to serve [[template:robot]].
This template is designed to serve [[template:robot]].
==Example==
<pre>{{exists|subschema=CO|element=hasName|version=3.1}}</pre>liefert:
{{exists|subschema=CO|element=hasName|version=3.1}}


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

Revision as of 17:21, 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) Template:Versions.