Template:OtherEnum

From railML 3 Wiki
Jump to navigation Jump to search

other:anything: Any value that does not fit any value from the previous enumeration list, starting with 'other:' followed by at least two letters and/or digits. Please see the section New enumeration value in Dev:UsingAny for more information.

Usage

This template provides a standardized display of the value other in lists of possible values of attributes. As many attributes allow for the value other to keep railML® adjustable to different needs, the template is often employed. It is related to and based on Template:Enum.

Options

The template has two optional arguments:

  • notes_en allows for an English comment.
  • notes_de allows for a German comment.

dependencies

The template is based on Template:Enum and Template:AddAnnotation

Examples

{{OtherEnum}}

delivers

other:anything: Any value that does not fit any value from the previous enumeration list, starting with 'other:' followed by at least two letters and/or digits. Please see the section New enumeration value in Dev:UsingAny for more information.

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

delivers

other:anything: Any value that does not fit any value from the previous enumeration list, starting with 'other:' followed by at least two letters and/or digits. Please see the section New enumeration value in Dev:UsingAny for more information.
An English comment.

Ein deutscher Kommentar.