Template:Interwiki: 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><!--
<includeonly><!--
Abklopfen auf Namensraum railML 2 Wiki vs railML 3 Wiki-->{{#vardefine:fullpage|{{#ifeq:{{NAMESPACE}}|RailML3_Wiki|RailML 2_Wiki:{{PAGENAME}}|{{FULLPAGENAME}}}}}}<noinclude>
Abklopfen auf Namensraum railML 2 Wiki vs railML 3 Wiki-->{{#vardefine:fullpage|{{#ifeq:{{NAMESPACE}}|RailML3_Wiki|RailML 2_Wiki:{{PAGENAME}}|{{FULLPAGENAME}}}}}}Test1:{{#var:fullpage}}<noinclude>
Nichts tun, falls template:mirror oberhalb
Nichts tun, falls template:mirror oberhalb
                           </noinclude>{{#if:{{#var:mirror|}}||<!--
                           </noinclude>{{#if:{{#var:mirror|}}||<!--

Revision as of 19:28, 8 February 2023

Test:

Usage

Template for convenient interwiki connections between railML® 2 and railML® 3. It links to the other wiki. The default argument is {{FULLPAGENAME}} (it links to the same lemma in the other wiki). Moreover it defines #var:interwiki for interpretation in Template:ElementDocu resp. Template:Robot.

Arguments

  • 1: The target lemma in the other wiki; default: {{FULLPAGENAME}}

Example

This page is, via {{interwiki}} in the source code, linked with Template:Interwiki in The railML® 2 wiki. Test1:Template:InterwikiTest: Template:Interwiki