Template:Topo: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
Line 8: Line 8:
<pre>{{topo}}</pre>delivers:
<pre>{{topo}}</pre>delivers:


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



Revision as of 09:44, 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:#|The Template loop detected: Template:Topo wiki]]

{{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®]]