Template:Wiki2: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[:wiki2:{{{1|#}}}|{{{2}}}]]|[[:wiki2:{{{1|#}}}|{{{1|}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|[[:wiki2:{{{1|#}}}|{{{2}}}]]|[[:wiki2:{{{1|#}}}|{{{1|&nbsp;}}}]]}}</includeonly><noinclude>
==Usage==
==Usage==
This template fixes links to the {{wiki2|#|{{rml}} 2 wiki}} for mirrored pages. Within the {{wiki3|#|{{rml}} 3 wiki}} it produces an interwiki link. Within the {{rml}} 2 wiki it links internally. Analogously, there exists [[Template:Wiki3]].
This template fixes links to the {{wiki2|#|{{rml}} 2 wiki}} for mirrored pages. Within the {{wiki3|#|{{rml}} 3 wiki}} it produces an interwiki link. Within the {{rml}} 2 wiki it links internally. Analogously, there exists [[Template:Wiki3]].

Revision as of 14:11, 24 January 2020

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.

Examples

{{wiki2}}

delivers:

 

{{wiki2|Infrastructure}}

delivers:

Infrastructure

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

delivers:

The railML® root element