Template:Rml: Difference between revisions

From railTOPOMODEL® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 32: Line 32:
{{rml|R=no}}
{{rml|R=no}}


{{interwiki}}
[[Category:ContentTemplate]]</noinclude>
[[Category:ContentTemplate]]</noinclude>

Revision as of 15:09, 15 April 2024

Usage

This template is intended to allow for a standardized and adaptable display of the brand name railML®. If it refers to {{#if:2|[[:wiki2:railML® 2]|railML® 2]]] it will produce a link.

Arguments

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

Dependencies

This template does not use or serve any other templates.

Example

{{rml}}

delivers

{{#if:3|[[:wiki3:railML® ]|railML® ]]]

{{rml|2.4}}

delivers

{{#if:2|[[:wiki2:railML® 2.4]|railML® 2.4]]]

{{rml|3.1}}

delivers

{{#if:3|[[:wiki3:railML® 3.1]|railML® 3.1]]]

{{rml|2.5|link=no}}

delivers:

{{#if:2|railML® 2.5

{{rml|R=no}}

delivers:

{{#if:3|[[:wiki3:railML ]|railML ]]]