Template:Rml

From railML 2 Wiki
Jump to navigation Jump to search

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||®}}