Template:Duplicate

From railML 3 Wiki
Jump to navigation Jump to search

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


Template returning the location of 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]
Example
{{duplicate|parent=timetable|subschema=TT|element=passengerTextInfos}}

delivers:

TT:timetable:passengerTextInfos

{{duplicate|subschema=TT|element=passengerTextInfo}}

delivers:

TT:passengerTextInfo