Template:InheritBase

From railML 2 Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Usage

This template provides a list element xml:base. It is used for the list of inherited attributes of an element, and therefore only occurs within the attribunte inheritedAttributes of template:ElementDocu.

Arguments

The template has one obligatory and two optional arguments:

  • obligatory:
    • selfLink: The name of the Element — usually the article name
  • optional:
    • base: An English comment on the xml base
    • base_de: A German comment on the xml base

Dependencies

This template depends on Template:Attr and Template:AddAnn. It is used in the context of Template:ElementDocu, but they do not depend on each other.

Examples

{{InheritBase|selfLink=[[TT:timetable|timetable]]}}

delivers

{{InheritBase|selfLink=[[TT:timetable|timetable]]|base=An English comment.|base_de=Ein deutscher Kommentar.}}

delivers