Template:Schemaexport: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
trello>Admin No edit summary |
No edit summary |
||
(50 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:documentation_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{documentation}}}}}<noinclude> | ||
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:children_{{{subschema_slug}}}:{{{element}}}/{{{version}}}|{{{children}}}}}<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>--> | |||
{|class="wikitable" | {|class="wikitable" | ||
|colspan="2"|Autoexport from the XML-Schema for element ''{{{element}}}'' of {{rml}} version {{{version}}} | |colspan="2"|<div class="hfill"><div>Autoexport from the XML-Schema for element '''[[{{{subschema_slug}}}:{{#ifeq:{{#explode:{{PAGENAME}}|:|2}}|||{{#explode:{{PAGENAME}}|:|1}}:}}{{{element}}}]]''' of {{rml}} version {{{version}}}</div><div>{{umlLink|{{{subschema_slug}}}|{{{version}}}}}</div></div> | ||
|- | |- | ||
|Documentation | |Documentation | ||
|{{{documentation| | |{{scrollbox|1={{{documentation|{{eMissing}}}}}<!-- | ||
Interwikihinweis -->{{#if:{{#var:interwiki{{current}}}}|<br>The corresponding {{rml|2}} element is {{otherlink|{{#var:interwiki{{current}}}}}}.}}<!-- | |||
Kontrollvariable erzeugen -->{{#vardefine:controlInterwiki|y}}<!-- | |||
Hinweise dc/GML -->{{#if:{{{dc|}}}|<br>This element is part of Dublin Core, version {{{dc}}} that is referenced by {{rml}} version {{{version}}}. Within {{rml}}, the {{rml}} version is significant for the handling of this element rather than the Dublin Core version. Please consider the licence terms of the Dublin Core.}}{{#if:{{{gml|}}}|<br>This element is part of GML, version {{{gml}}} that is referenced by {{rml}} version {{{version}}}. Within {{rml}}, the {{rml}} version is significant for the handling of this element rather than the GML version. Please consider the licence terms of GML.}}}} | |||
|- | |- | ||
|Subschema | |Subschema | ||
|{{{subschema}}} | |{{scrollbox|1={{#ifeq:{{{subschema}}}|rtm4railml|Rtm4railml|{{{subschema}}}}}}} | ||
| | |||
| | |||
|{{{ | |||
|- | |- | ||
<!--|Multiplicity | |||
|{{scrollbox|1={{{multiplicity}}}}} | |||
|---> | |||
|Parents<sup>*</sup> | |Parents<sup>*</sup> | ||
| | |{{scrollbox|1={{{parent|}}}}} | ||
{{{parent|}}} | |||
|- | |- | ||
|Children | |Children | ||
| | |{{scrollbox|1={{{children|''None''}}}}} | ||
{{{children|''None''}}} | |||
|- | |- | ||
|colspan="2"|Attributes:< | |colspan="2"|Attributes:<br>{{scrollbox|1={{{attributes|''None''}}}}} | ||
{{{attributes|''None''}}} | |||
|- | |- | ||
|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>{{#ifeq:{{#sub:{{PAGENAME}}|-3}}|{{current}}|{{baum|Zeile={{#var:kinder}}))))}}}}<noinclude> | |||
</noinclude></includeonly> | |||
</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.