Template:Enum: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
m (Category deployed)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<tt>'''{{{1}}}'''</tt>
<includeonly><tt>'''<span id={{{1}}}>{{{1}}}</span>'''</tt></includeonly><noinclude>
<noinclude>[[Category:MarkupTemplate]]</noinclude>
==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==
<nowiki>{{Enum|Coach}}</nowiki>
 
delivers
 
{{Enum|Coach}}
 
The template is used e.g. in {{tag|RS|vehicle|@=vehicleCategory}}. You can link the values, e.g. <nowiki>{{tag|RS|vehicle|#=freightWagon}}</nowiki> delivers {{tag|RS|vehicle|#=freightWagon}}.
 
{{interwiki}}
[[Category:MarkupTemplate]]</noinclude>

Latest revision as of 13:37, 12 November 2021

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.