Template:InheritLang

From railML 2 Wiki
Revision as of 12:27, 11 August 2017 by RailML Coord Documentation (talk | contribs) (Undo revision 6769 by Ferri Leberl (talk))
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 Template: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)