Template:Unit: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Line 3: Line 3:
This template is intended to support the management of units within {{rml}}. It should be used consequently within [[template:railMLType]] to mark units. So all units are collected within [[:category:unit]] plus in a category for each unit.
This template is intended to support the management of units within {{rml}}. It should be used consequently within [[template:railMLType]] to mark units. So all units are collected within [[:category:unit]] plus in a category for each unit.
===Argument===
===Argument===
The template hase one required, unnamed argument for the unit.
The template has one required, unnamed argument for the unit.
 
==Example==
==Example==
<pre>{{unit|m}}</pre>
<pre>{{unit|m}}</pre>

Revision as of 14:03, 7 May 2021

Usage

This template is intended to support the management of units within railML®. It should be used consequently within template:railMLType to mark units. So all units are collected within category:unit plus in a category for each unit.

Argument

The template has one required, unnamed argument for the unit.

Example

{{unit|m}}

delivers

m
+an entry in category:m
+an entry in category:unit