Template:Interwiki: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
(Documentation)
Line 1: Line 1:
<includeonly><!--[[railml2:{{{1|{{FULLPAGENAME}}}}}]]-->[[railml{{#sub:{{otherwiki}}|-1}}:{{{1|{{FULLPAGENAME}}}}}]]</includeonly><noinclude>
<includeonly>{{#vardefine:interwiki|{{{1|{{FULLPAGENAME}}}}}}}<!--[[railml2:{{{1|{{FULLPAGENAME}}}}}]]-->[[railml{{#sub:{{otherwiki}}|-1}}:{{#var:interwiki}}]]</includeonly><noinclude>
 
==Usage==
Template for convenient interwiki connections between {{rml|2}} and {{rml|3}}. It links to the ''other'' wiki. The default argument is {<nowiki />{FULLPAGENAME}} (it links to the same lemma in the other wiki). Moreover it defines #var:interwiki for interpretation in {{wiki2|Template:ElementDocu}} resp. {{wiki3|Template:Robot}}.
===Arguments===
* 1: The target lemma in the other wiki; default: {<nowiki />{FULLPAGENAME}}
==Example==
This page is, via {<nowiki />{interwiki}} in the source code, linked with {{otherlink|Template:Interwiki}}.
[[category:template]]
[[category:template]]
{{interwiki}}
{{interwiki}}
</noinclude>
</noinclude>

Revision as of 15:55, 24 January 2022

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.