Template:Rml: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:tm|{{# | <includeonly>{{#vardefine:tm|{{#ifex:{{{tm}}}|no||<sup><small>®</small></sup>}}}} tm ist: {{#var:tm}} | ||
{{#vardefine:display|railML{{#var:tm}} {{{1|}}}}} 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:{{#sub:{{{1}}}|0|1}}|3|{{#vardefine:display|{{wiki3||railML{{#var:tm}} {{{1|}}}}}}}}}--> |
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: {{#ifex:{{{tm}}}|no||®}}
tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}}
railML{{#ifex:{{{tm}}}|no||®}} 3 tm ist: {{#ifex:{{{tm}}}|no||®}}
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: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}}
railML{{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}}
{{rml|2.4}}
delivers
tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}}
railML{{#ifex:{{{tm}}}|no||®}} 2.4 tm ist: {{#ifex:{{{tm}}}|no||®}}
{{rml|3.1}}
delivers
tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}} tm ist: {{#ifex:{{{tm}}}|no||®}}
railML{{#ifex:{{{tm}}}|no||®}} 3.1 tm ist: {{#ifex:{{{tm}}}|no||®}}
{{rml|3.2|link=no}}
delivers:
tm ist: {{#ifex:no|no||®}} tm ist: {{#ifex:no|no||®}} tm ist: {{#ifex:no|no||®}}
railML{{#ifex:no|no||®}} 3.2 tm ist: {{#ifex:no|no||®}}
{{rml|3.2|link=no}}
delivers:
tm ist: {{#ifex:no|no||®}} tm ist: {{#ifex:no|no||®}} tm ist: {{#ifex:no|no||®}}
railML{{#ifex:no|no||®}} 3.2 tm ist: {{#ifex:no|no||®}}