Template:Rml: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{#sub:{{{1}}}|0|1}}|2|[http://wiki2.railml.org railML<sup><small>®</small></sup>{{{1|}}}]|railML<sup><small>®</small></sup>{{{1|}}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{#sub:{{{1}}}|0|1}}|3|[http://wiki3.railml.org railML<sup><small>®</small></sup>{{{1|}}}]|railML<sup><small>®</small></sup>{{{1|}}}}}</includeonly><noinclude>
==Usage==
==Usage==
This template is intended to allow for a standardized and adaptable display of the brand name railML<sup>®</sup>.
This template is intended to allow for a standardized and adaptable display of the brand name railML<sup>®</sup>.
Line 8: Line 8:


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


delivers
delivers


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


delivers
delivers


{{#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}}
{{rml|2.4}}
<pre>{{rml|3.1}}</pre>
<nowiki>{{rml|3.1}}</nowiki>


delivers
delivers


{{#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}}
{{rml|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