Template:InheritNationalSystemType

From railML 2 Wiki
Jump to navigation Jump to search

Usage

This template displays an attribute type (of train protection system) plus a long list of possible values, including the wildcard other:anything. It allows for optional comments on the last value in English and German.

Arguments

The template has two optional arguments:

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

Dependencies

The template depends on Template:Attr, Template:Intro, Template:Deu, Template:Enum, [[Template:OtherEnum}} and Template:AddAnn. No other templates build on it.

Examples

{{NationalSystemType}}

delivers (in a box)

{{subst:nationalSystemType}}

{{NationalSystemType |notes_en=An English comment on otherAnything. |notes_de=Ein deutscher Kommentar zu otherAnything. }}

delivers (in a box)

{{subst:NationalSystemType notes_en=An English comment on otherAnything. notes_de=Ein deutscher Kommentar zu otherAnything.

}}