Template:Topo: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#if:{{{2|}}}|[[:topo:{{{1|#}}}|{{{2}}}]]|[[:topo:{{{1|#}}}|{{{1|The {{rtm}} wiki}}}]]}}</includeonly><noinclude> ==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. ===Arguments=== *'''1''' (optionally): The link target. The default value is '''#''', which will link to the respe...")
 
No edit summary
Line 9: Line 9:


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


{{topo|ECTS}}
{{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|mode=silent}}}}</pre>delivers:



Revision as of 09:42, 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®]]