User:RailML Coord Documentation/Spielwiese

From railML 3 Wiki
Jump to navigation Jump to search

<includeonly>{{#vardefine:®|{{#ifeq:{{{R|yes}}}|no||<sup><small>®</small></sup> }}}}{{#vardefine:display|railML{{#var:®}} {{{1|}}}}}{{#ifeq:{{#sub:{{{1}}}|0|1}}|2|{{#vardefine:display|[https://wiki2.railml.org railML{{#var:®}} {{{1|}}}]}}}}{{#ifeq:{{{link}}}|no|{{#vardefine:display|railML{{#var:®}} {{{1|}}}}}}}{{#var:display}}</includeonly><noinclude> ==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|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== <pre>{{rml}}</pre> delivers {{rml}} <pre>{{rml|2.4}}</pre> delivers {{rml|2.4}} <pre>{{rml|3.1}}</pre> delivers {{rml|3.1}} <pre>{{rml|2.5|link=no}}</pre>delivers: {{rml|2.5|link=no}} <pre>{{rml|R=no}}</pre>delivers: {{rml|R=no}} {{interwiki|2=all}} [[Category:ContentTemplate]]</noinclude>

{{#invoke:Plain text|main|}}

{{#invoke:Plain text|main|railML® 2}}