Template:Rtm: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[https://wiki.railtopomodel.org railTOPOMODEL<sup>®</sup>]</includeonly><noinclude>
<includeonly>{{#vardefine:®|{{#ifeq:{{{R|yes}}}|no||<sup><small>®</small></sup> }}}}{{#vardefine:display|[https://wiki.railtopomodel.org {{{1|RailTopoModel{{#var:®}}}}}]}}{{#ifeq:{{{link}}}|no|{{#vardefine:display|RailTopoModel{{#var:®}}}}}}{{#var:display}}</includeonly><noinclude><!--
<includeonly>[https://wiki.railtopomodel.org RailTopoModel<sup>®</sup>]</includeonly><noinclude>-->
==Usage==
==Usage==
This template is intended to allow for a standardized and adaptable display of the brand name {{rtm}}.
This template is intended to allow for a standardized and adaptable display of the brand name {{rtm}}. Analogously, there exists [[Template:rml]] to display the {{rml}} brand.
===Arguments===
===Arguments===
This template has no 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===
===Dependencies===
This template does not use or serve any other templates.
This template does not use or serve any other templates.


==Example==
==Example==
<nowiki>{{rtm}}</nowiki>
<pre>{{rtm}}</pre>delivers


delivers
{{rtm}}
<pre>{{rtm|link=no}}</pre>delivers


{{rtm}}
{{rtm|link=no}}


[[Category:ContentTemplate]]
[[Category:ContentTemplate]]
{{interwiki}}</noinclude>
{{interwiki|2=all}}</noinclude>

Latest revision as of 14:11, 15 April 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

RailTopoModel®

{{rtm|link=no}}

delivers

RailTopoModel®rtm:Template:Rtm