Template:InheritLang

From railML 2 Wiki
Revision as of 18:08, 21 July 2017 by RailML Coord Documentation (talk | contribs) (intro- und depri-Tags vor 2.2 entfernt)
Jump to navigation Jump to search

This template displays a commented attribute xml:lang and optionally an adjustable comment.

Arguments

This template has two optional arguments:

  • notes_en: an English comment
  • notes_de: a German comment

Dependencies

This template depends on Template:Attr and AddAnn. It is employed by about two dozens of templates, e.g. Template:InheritIdName.

Examples

{{InheritLang}}

delivers

{{InheritLang |notes_en=An English comment. |notes_de=Ein deutscher Kommentar. }}

delivers (in a box)