Template:Duplicate: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}</includeonly>
{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}<noinclude>


Template returning the location to the automatically generated documentation page of an element.
Template returning the location to the automatically generated documentation page of an element.
Line 10: Line 10:


: <pre><nowiki>[subschema]:[parent]:[element]</nowiki></pre>
: <pre><nowiki>[subschema]:[parent]:[element]</nowiki></pre>
</noinclude>

Revision as of 11:19, 26 December 2019

{{{subschema}}}:{{{element}}}

Template returning the location to the automatically generated documentation page of an element.

By default, the location of the elements documentation page will match the pattern

[subschema]:[element]

If the element is duplicate within its subschema (same element name within the same subschema), then the location returned will match the pattern

[subschema]:[parent]:[element]