Difference between revisions of "Template:Rml"

From railML 3 Wiki
Jump to: navigation, search
(Example)
(Example)
Line 30: Line 30:
 
<pre>{{rml|2.5|head=yes}}</pre>delivers:
 
<pre>{{rml|2.5|head=yes}}</pre>delivers:
  
{{rml|2.5|head=yes}}
+
{{rml|head=yes}}
  
 
{{interwiki}}
 
{{interwiki}}
 
[[Category:ContentTemplate]]</noinclude>
 
[[Category:ContentTemplate]]</noinclude>

Revision as of 16:38, 22 September 2021

Usage

This template is intended to allow for a standardized and adaptable display of the brand name railML®. If it refers to railML®2 it will produce a link.

Arguments

  • 1 (optional): a version number
  • link (optional): if "no", no link will be produced; default: "yes"
  • head: if "yes", the ®-symbol will be omitted; default: "no"

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

{{rml|2.5|link=no}}

delivers:

railML®2.5

{{rml|2.5|head=yes}}

delivers:

railML®