Template:Duplicate: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (Template documentation)
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}
{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}
</includeonly><noinclude>
</includeonly>
<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 11: Line 9:
If the element is duplicate within its subschema (same element name within the same subschema), then the location returned will match the pattern
If the element is duplicate within its subschema (same element name within the same subschema), then the location returned will match the pattern


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

Revision as of 11:11, 26 December 2019

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]