Template:Otherlink: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Created page with "<includeonly>{{wiki3|{{{1}}}|{{{2|{{{1}}}}}}}}</includeonly><noinclude> ==Usage== This template fixes links to {{wiki3}} for mirrored pages. Within {{wiki2}} it produces an in...") |
|||
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>{{ | <pre>{{otherlink}}</pre>delivers: | ||
{{ | {{otherlink}} | ||
<pre>{{ | <pre>{{otherlink|Infrastructure}}</pre>delivers: | ||
{{ | {{otherlink|Infrastructure}} | ||
<pre>{{ | <pre>{{otherlink|CO:railml|The {{rml}} root element}}</pre>delivers: | ||
{{ | {{otherlink|RAILML:railML|The {{rml}} root element}} | ||
{{interwiki}} | {{interwiki}} | ||
[[category:Template]] | [[category:Template]] | ||
</noinclude> | </noinclude> |
Revision as of 15:56, 16 April 2020
Usage
This template fixes links to The railML® 3 wiki for mirrored pages. Within The railML® 2 wiki it produces an interwiki link. Within the The railML® 3 wiki it links internally. Analogously, there exists Template:Wiki2.
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:
[[:wiki3:{{{1}}}|{{{1}}}]]
{{otherlink|Infrastructure}}
delivers:
{{otherlink|CO:railml|The {{rml}} root element}}
delivers: