Template:Duplicate: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
m (Template documentation)
Line 1: Line 1:
<!--<includeonly>{{#if:{{{parent|}}}|{{:{{{subschema}}}:{{{parent}}}:{{{element}}}/{{current}}}}|{{:{{{subschema}}}:{{{element}}}/{{current}}}}}}</includeonly>-->{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}
<includeonly>
{{#if:{{{parent|}}}|{{{subschema}}}:{{{parent}}}:{{{element}}}|{{{subschema}}}:{{{element}}}}}
</includeonly>
<noinclude>
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
 
: <pre><nowiki>[subschema]:[element]</nowiki></pre>
 
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>
</noinclude>

Revision as of 11:10, 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]