Template:Rml: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
Line 8: Line 8:


==Example==
==Example==
<nowiki>{{rml}}</nowiki>
<pre>{{rml}}</pre>


delivers
delivers


{{rml}}
{{#ifeq:{{#sub:{{{1}}}|0|1}}|2|[http://wiki2.railml.org railML<sup><small>®</small></sup>]|railML<sup><small>®</small></sup>}}
<nowiki>{{rml|2.4}}</nowiki>
<pre>{{rml|2.4}}</pre>


delivers
delivers


{{rml|2.4}}
{{#ifeq:{{#sub:2.4|0|1}}|2|[http://wiki2.railml.org railML<sup><small>®</small></sup>2.4]|railML<sup><small>®</small></sup>2.4}}
<nowiki>{{rml|3.1}}</nowiki>
<pre>{{rml|3.1}}</pre>


delivers
delivers


{{rml|3.1}}
{{#ifeq:{{#sub:3.1|0|1}}|2|[http://wiki2.railml.org railML<sup><small>®</small></sup>3.1]|railML<sup><small>®</small></sup>3.1}}


[[Category:ContentTemplate]]</noinclude>
[[Category:ContentTemplate]]</noinclude>

Revision as of 14:44, 25 November 2019

Usage

This template is intended to allow for a standardized and adaptable display of the brand name railML®.

Arguments

This template has no arguments.

Dependencies

This template does not use or serve any other templates.

Example

{{rml}}

delivers

railML®

{{rml|2.4}}

delivers

railML®2.4

{{rml|3.1}}

delivers

railML®3.1