Template:Rtm: 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:®|{{#ifeq:{{{R|yes}}}|no||<sup><small>®</small></sup> }}}} | <includeonly>{{#vardefine:®|{{#ifeq:{{{R|yes}}}|no||<sup><small>®</small></sup> }}}}<noinclude> | ||
{{#vardefine:display|{{topo||RailTopoModel{{#var:®}} {{{1|}}}}}}} | </noinclude>{{#vardefine:display|{{topo||RailTopoModel{{#var:®}} {{{1|}}}}}}}<noinclude> | ||
{{#ifeq:{{{link}}}|no|{{#vardefine:display|RailTopoModel{{#var:®}} {{{1|}}}}}}} | </noinclude>{{#ifeq:{{{link}}}|no|{{#vardefine:display|RailTopoModel{{#var:®}} {{{1|}}}}}}}<noinclude> | ||
{{#var:display}}</includeonly><noinclude><!-- | </noinclude>{{#var:display}}</includeonly><noinclude><!-- | ||
<includeonly>[https://wiki.railtopomodel.org RailTopoModel<sup>®</sup>]</includeonly><noinclude>--> | <includeonly>[https://wiki.railtopomodel.org RailTopoModel<sup>®</sup>]</includeonly><noinclude>--> | ||
==Usage== | ==Usage== |
Latest revision as of 16:40, 10 June 2024
Usage
This template is intended to allow for a standardized and adaptable display of the brand name RailTopoModel® . Analogously, there exists Template:rml to display the railML® brand.
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
{{rtm}}
delivers
{{rtm|link=no}}
delivers
RailTopoModel®
{{rtm|1.0}}
delivers