Template:Interwiki: Difference between revisions

From railTOPOMODEL® Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
No edit summary
No edit summary
 
Line 16: Line 16:


==Example==
==Example==
This page is, via {<nowiki />{interwiki}} [{{fullurl:{{FULLPAGENAME}}|action=edit}} in the source code], linked with {{otherlink|Template:Interwiki}} in {{otherlink}}.
This page is, via {<nowiki />{interwiki}} [{{fullurl:{{FULLPAGENAME}}|action=edit}} in the source code], linked with {{wiki2|Template:Interwiki}} in the {{rml|2}} wiki.and {{wiki3|Template:Interwiki}} in the {{rml|3}} wiki.
[[category:template]]
[[category:template]]
<hr>
<hr>
{{interwiki|1=Template:Interwiki|2=all}}
{{interwiki}}
</noinclude>
</noinclude>

Latest revision as of 13:58, 15 April 2024

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}}
  • 2: 2 for wiki2 only; 3 for wiki3 only. By default, both railML® wikis will be linked. will be linked.

Example

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