Template:Unit: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>[[:category:{{{1}}}|{{{1}}}]][[category:{{{1}}}]]category:unit</includeonly><noinclude> ==Usage== This template is intended to support the management of units...")
 
(Moved call to interwiki template inside noinclude)
 
(5 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 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>
delivers
delivers


{{unit|m}}
[[:category:m|m]]<br>+an entry in [[:category:m]]<br>+an entry in [[:category:unit]]


[[category:template]]
[[category:ContentTemplate]]
{{interwiki}}
</noinclude>
</noinclude>

Latest revision as of 16: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