Template:Enum

From railML 2 Wiki
Revision as of 13:37, 12 November 2021 by RailML Coord Documentation (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.