Template:Wiki2

From railML 2 Wiki
Jump to navigation Jump to search

Usage

This template fixes links to the railML® 2 wiki for mirrored pages. Within the railML® 3 wiki it produces an interwiki link. Within the railML® 2 wiki it links internally. Analogously, there exists 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.
Links within {{{2}}} will cause errors!
E.g.: use {{rml|link=no}} instead of {{rml}}


Examples

{{wiki2}}

delivers:

The railML® 2 wiki

{{wiki2|Infrastructure}}

delivers:

Infrastructure

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

delivers:

The railML® root element