Template:Schemaexport: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:documentation_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{documentation}}}}}<noinclude> | <includeonly>{{#vardefine:documentation_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{documentation}}}}}<noinclude> | ||
</noinclude>{{#vardefine: | Elementnamen isolieren: | ||
</noinclude>{{#vardefine:lElement|{{#explode:{{PAGENAME}}|/|0}}}}<noinclude> | |||
</noinclude>{{#vardefine:kinder|((+vardefine:{{#var:lElement}}!((showTree!{{#var:lElement}}!}}<noinclude> | |||
</noinclude>{{#vardefine:parents_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{parent}}}}}<noinclude> | </noinclude>{{#vardefine:parents_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{parent}}}}}<noinclude> | ||
</noinclude>{{#vardefine:children_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{children}}}}}<noinclude> | </noinclude>{{#vardefine:children_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{children}}}}}<noinclude> | ||
</noinclude>{{#vardefine:attributes_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{attributes}}}}}<noinclude> | </noinclude>{{#vardefine:attributes_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{attributes}}}}}<noinclude> | ||
</noinclude>{{#vardefine:slug|{{{subschema_slug}}}}}{{#vardefine:subschema|{{{subschema}}}}}{{#vardefine:element|{{{element}}}}}<noinclude> | |||
</noinclude><!--<span style="color:#ffffff">{{listkids|children={{{children}}}}}</span>--> | </noinclude><!--<span style="color:#ffffff">{{listkids|children={{{children}}}}}</span>--> | ||
{|class="wikitable" | {|class="wikitable" | ||
Line 15: | Line 18: | ||
|- | |- | ||
|Subschema | |Subschema | ||
|{{scrollbox|1={{{subschema}}}}} | |{{scrollbox|1={{#ifeq:{{{subschema}}}|rtm4railml|Rtm4railml|{{{subschema}}}}}}} | ||
|- | |- | ||
<!--|Multiplicity | <!--|Multiplicity | ||
Line 30: | Line 33: | ||
|colspan="2"|<small><sup>*</sup>'''Notice:'''<br>Elements may have different parent elements. As a consequence they may be used in different contexts.<br>Please, consider this as well as a user of this wiki as when developing this documentation further.<br>Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element.</small> | |colspan="2"|<small><sup>*</sup>'''Notice:'''<br>Elements may have different parent elements. As a consequence they may be used in different contexts.<br>Please, consider this as well as a user of this wiki as when developing this documentation further.<br>Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element.</small> | ||
|}<noinclude> | |}<noinclude> | ||
</noinclude>{{#ifeq:{{#sub:{{PAGENAME}}|-3}}|{{current}}|{{baum|Zeile= | </noinclude>{{#ifeq:{{#sub:{{PAGENAME}}|-3}}|{{current}}|{{baum|Zeile={{#var:kinder}}))))}}}}<noinclude> | ||
</noinclude></includeonly> | </noinclude></includeonly> | ||
<noinclude> | <noinclude> | ||
Template to integrate XML-exports automatically. | Template to integrate XML-exports automatically. | ||
[[category:template]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:02, 12 February 2024
Template to integrate XML-exports automatically.