Template:Rml: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(+Argument tm) |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:tm|{{# | <includeonly>{{#vardefine:tm|{{#ifeq:{{{tm}}}|no||<sup><small>®</small></sup>}}}} tm ist: {{#var:tm}} | ||
{{#vardefine:display|railML{{#var:tm}} {{{1|}}}}} tm ist: {{#var:tm}} | |||
<!--{{#ifeq:{{#sub:{{{1}}}|0|1}}|3|{{#vardefine:display|{{wiki3||railML{{#var:tm}} {{{1|}}}}}}}}}--> | |||
{{#ifeq:{{{link}}}|no|{{#vardefine:display|railML{{#var:tm}} {{{1|}}}}}link=no}} tm ist: {{#var:tm}} | |||
{{#var:display}}<!--{{#ifeq:{{{link}}}|no||[[category:railML {{{1|}}}]]}}--> tm ist: {{#var:tm}} | |||
</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
This template is intended to allow for a standardized and adaptable display of the brand name railML<sup>®</sup>. If it refers to {{rml|3}} it will produce a link. | This template is intended to allow for a standardized and adaptable display of the brand name railML<sup>®</sup>. If it refers to {{rml|3}} it will produce a link. |
Revision as of 17:09, 20 May 2024
Usage
This template is intended to allow for a standardized and adaptable display of the brand name railML®. If it refers to tm ist: ®
tm ist: ® tm ist: ®
railML® 3 tm ist: ®
it will produce a link.
Arguments
- 1 (optional): a version number
- link (optional): if "no", no link will be produced; default: "yes"
- tm: If exiting, no ® will be shown.
Dependencies
This template does not use or serve any other templates.
Example
{{rml}}
delivers
tm ist: ® tm ist: ® tm ist: ®
railML® tm ist: ®
{{rml|2.4}}
delivers
tm ist: ® tm ist: ® tm ist: ®
railML® 2.4 tm ist: ®
{{rml|3.1}}
delivers
tm ist: ® tm ist: ® tm ist: ®
railML® 3.1 tm ist: ®
{{rml|3.2|link=no}}
delivers:
tm ist: tm ist: tm ist:
railML 3.2 tm ist:
{{rml|3.2|link=no}}
delivers:
tm ist: tm ist: tm ist:
railML 3.2 tm ist: