Template:Topo: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[:topo:{{{1|#}}}|{{{2}}}]]|[[:topo:{{{1|#}}}|{{{1|The {{rtm|mode=silent}} wiki}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|[[:topo:{{{1|#}}}|{{{2}}}]]|[[:topo:{{{1|#}}}|{{{1|The {{rtm|link=no}} wiki}}}]]}}</includeonly><noinclude>
==Usage==
==Usage==
This template fixes links to the {{topo}} for mirrored pages. Within the {{wiki3}} it produces an interwiki link. Within the {{topo}} it links internally. Analogously, there exist [[Template:Wiki2]] and [[Template:Wiki3]].
This template fixes links to the {{topo}} for mirrored pages. Within the {{wiki3}} it produces an interwiki link. Within the {{topo}} it links internally. Analogously, there exist [[Template:Wiki2]] and [[Template:Wiki3]].
Line 8: Line 8:
<pre>{{topo}}</pre>delivers:
<pre>{{topo}}</pre>delivers:


{topo}}
{{topo}}
<pre>{{topo|ETCS}}</pre>delivers:
<pre>{{topo|ETCS}}</pre>delivers:


{{topo|ETCS}}
{{topo|ETCS}}
<pre>{{topo|Structure|The requirements for the structure of the {{rtm|mode=silent}}}}</pre>delivers:
<pre>{{topo|Structure|The requirements for the structure of the {{rtm|link=no}}}}</pre>delivers:


{{topo|Structure|The requirements for the structure of the {{rtm|mode=silent}}}}
{{topo|Structure|The requirements for the structure of the {{rtm|link=no}}}}


{{interwiki}}
{{interwiki|2=all}}
[[category:Template]]
[[category:Template]]
</noinclude>
</noinclude>

Latest revision as of 14:07, 15 April 2024

Usage

This template fixes links to the The RailTopoModel® wiki for mirrored pages. Within the The railML® 3 wiki it produces an interwiki link. Within the The RailTopoModel® wiki it links internally. Analogously, there exist 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

{{topo}}

delivers:

The RailTopoModel® wiki

{{topo|ETCS}}

delivers:

ETCS

{{topo|Structure|The requirements for the structure of the {{rtm|link=no}}}}

delivers:

The requirements for the structure of the RailTopoModel®