Template:Wiki2: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
No edit summary |
|||
Line 6: | Line 6: | ||
*'''2''' (optionally): The link text, if different to the target. | *'''2''' (optionally): The link text, if different to the target. | ||
==Examples== | ==Examples== | ||
<pre>{{wiki2}}</pre>delivers: | |||
{{wiki2}} | |||
<pre>{{wiki2|Infrastructure}}</pre>delivers: | <pre>{{wiki2|Infrastructure}}</pre>delivers: | ||
Revision as of 14:10, 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:#|]]
{{wiki2|Infrastructure}}
delivers:
{{wiki2|CO:railml|The {{rml}} root element}}
delivers: