Template:Otherlink: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{2|}}}|{{wiki2|{{{1|#}}}|{{{2}}}}}|{{wiki2|{{{1|#}}}|{{{1|The {{rml}} 2 wiki}}}}}}}</includeonly><noinclude> ==Usage== This template produces links to {{w...")
(No difference)

Revision as of 16:16, 16 April 2020

Usage

This template produces links to The railML® 3 wiki within The railML® 2 wiki and analogously to The railML® 2 wiki within The railML® 3 wiki. This can be usefull within mirrored content. The backbones ar Template:Wiki2 and Template:Wiki3.

Arguments

  • 1 (optionally): The link target. The default value is #, which will link to the respective main page.
  • 2 (optionally): The link text, if different to the target.

Examples

{{otherlink}}

delivers:

The railML® 2 wiki

{{otherlink|Infrastructure}}

delivers:

Infrastructure

{{otherlink|CO:railml|The {{rml}} root element}}

delivers:

The railML® root element