Template:InheritUnit

From railML 2 Wiki
Revision as of 09:21, 14 September 2020 by RailML Coord Rollingstock (talk | contribs) (remove warning)
Jump to navigation Jump to search

Usage

This template displays a list of units, including other:anything (see CO:usingAny). It allows for an English and a German comment on other:anything.

Arguments

The template has two unnamed optional arguments:

  1. English comment
  2. German comment

Dependencies

The template depends on Template:Enum and Template:OtherEnum. Template:InheritValueTable builds on it.

Examples

{{InheritUnit}}

delivers

Possible values of physical units are:
  • m/s
  • km/h
  • A
  • N
  • Hz
  • %
  • V
  • W
  • VA
  • Vs
  • 1
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
{{InheritUnit
|English comment
|Deutscher kommentar
}}

delivers

Possible values of physical units are:
  • m/s
  • km/h
  • A
  • N
  • Hz
  • %
  • V
  • W
  • VA
  • Vs
  • 1
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
    English comment
    Deutscher kommentar

The template is solely employed via Template:InheritValueTable.