Template:Mirror: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Undo revision 14533 by RailML Coord Documentation (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
Hinweis erzeugen    -->{{note|1=This {{{2|page}}} is mirrored from page {{otherlink|{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}}} in {{otherlink}}.}}<!--
Abklopfen auf Namensraum railML 2 Wiki vs railML 3 Wiki-->{{#vardefine:fullpage|{{#ifeq:{{NAMESPACE}}|railML 2 Wiki|railML 3 Wiki:{{PAGENAME}}|{{FULLPAGENAME}}}}}}<!--
Transklussionsbefehl -->{{raw:{{otherwiki}}::{{{1|{{FULLPAGENAME}}}}}}}<!--
Hinweis erzeugen    -->{{note|1=This {{{2|page}}} is mirrored from page {{otherlink|{{{1|{{#var:fullpage}}}}}}}|{{{1|{{#var:fullpage}}}}}}} in {{otherlink}}.}}<!--
Transklussionsbefehl -->{{raw:{{otherwiki}}::{{{1|{{#var:fullpage}}}}}}}<!--
Gibt es schon einen Interwikilink? Wenn nein: Erzeugen.
Gibt es schon einen Interwikilink? Wenn nein: Erzeugen.
                     -->{{#if:{{#var:interwiki{{current}}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}{{#vardefine:mirror}}}}</includeonly><noinclude>
                     -->{{#if:{{#var:interwiki{{current}}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}{{#vardefine:mirror}}}}</includeonly><noinclude>

Revision as of 18:02, 8 February 2023

Usage

Template for mirroring and linking pages with identical names from The railML® 3 wiki.

Arguments

  • 1 (optional): The mirrored page (on default the current pagename)
  • 2 (optional): The object that is mirrored. The default is page, but you might as well address a paragraph or table.

Examples

The template cannot be demonstrated here. To grasp its function compare UC:Use cases with its source and the mirrored page with its source.