Template:Enum

From railML 2 Wiki
Jump to navigation Jump to search

Usage

This template grants for a standardized depiction of the possible values of attributes.

Attributes

This template has one unnamed obligatory argument for the depicted content.

dependencies

This template depends on no othe templates. It is used by many other templates, e.g. Template:OtherEnum

Example

{{Enum|Coach}}

delivers

Coach

The template is used e.g. in <vehicle>@vehicleCategory. You can link the values, e.g. {{tag|RS|vehicle|#=freightWagon}} delivers <vehicle>#freightWagon.