Template:Unit: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Moved call to interwiki template inside noinclude) |
|||
(4 intermediate revisions by one other user not shown) | |||
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 | The template has one required, unnamed argument for the unit. | ||
==Example== | ==Example== | ||
<pre>{{unit|m}}</pre> | <pre>{{unit|m}}</pre> | ||
delivers | delivers | ||
[[:category:m|m]][[category:m]][[category:unit]] | [[:category:m|m]]<br>+an entry in [[:category:m]]<br>+an entry in [[:category:unit]] | ||
[[category: | [[category:ContentTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:05, 17 January 2022
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