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
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[:topo:{{{1|#}}}|{{{2}}}]]|[[:topo:{{{1|#}}}|{{{1|The {{rtm}} wiki}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|[[:topo:{{{1|#}}}|{{{2}}}]]|[[:topo:{{{1|#}}}|{{{1|The {{rtm|mode=silent}} 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]].

Revision as of 09:43, 15 April 2024

Usage

This template fixes links to the [[:topo:#|The Template loop detected: Template:Topo wiki]] for mirrored pages. Within the The railML® 3 wiki it produces an interwiki link. Within the [[:topo:#|The Template loop detected: Template:Topo 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:

{topo}}

{{topo|ETCS}}

delivers:

ETCS

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

delivers:

[[:topo:Structure|The requirements for the structure of the RailTopoModel®]]