Template:InheritOwner

From railML 2 Wiki
Revision as of 16:00, 22 February 2016 by RailML Coord Documentation (talk | contribs) (Documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template lists the attributes ownerChange and uic-no and allows for comments on both attributes in English as well as in German.

Arguments

The template has four optional arguments:

  • ownerName: English comment on ownerName
  • ownerName_de: German comment on ownerName
  • uic-no: English comment on uic-no
  • uic-no_de: German comment on uic-no

Dependencies

the template builds on Template:Attr and Template:AddAnn. No other templates depend on it.

Examples

{{InheritOwner}}

delivers

  • ownerName
  • uic-no
{{InheritOwner
|ownerName=English comment on ownerName
|ownerName_de=German comment on ownerName
|uic-no=English comment on uic-no
|uic-no_de=German comment on uic-no
}}

delivers

  • ownerName
    English comment on ownerName
    German comment on ownerName
  • uic-no
    English comment on uic-no
    German comment on uic-no

The template is employed by IS:owner and IS:ownerChange.