Template:Mirror: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Links in Vorlage geklopft)
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{note|This page is mirrored from page [[:railml3:{{{1|{{FULLPAGENAME}}}}}}} in the [[:railml3|{{rml|3}} wiki.}}{{raw:wiki3::{{{1|{{FULLPAGENAME}}}}}}}{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}</includeonly><noinclude>
<includeonly><!--
Abklopfen auf Namensraum railML 2 Wiki vs railML 3 Wiki-->{{#vardefine:fullpage|{{#ifeq:{{NAMESPACE}}|railML 2 Wiki|RailML3_Wiki:{{PAGENAME}}|{{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.
                    -->{{#if:{{#var:interwiki{{current}}|}}||{{interwiki|{{{1|{{#var:fullpage}}}}}}}{{#vardefine:mirror}}}}</includeonly><noinclude>
==Usage==
==Usage==
Template for mirroring and linking pages with identical names from the {{rml}}2 wiki</noinclude><noinclude>{{interwiki}}
Template for mirroring and linking pages with identical names from {{otherlink}}.
===Arguments===
===Arguments===
*'''1''' (optional): The mirrored page (on default the current pagename)
*'''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==
==Examples==
The template cannot be demonstrated here. To grasp its function compare [[UC:Use cases]] with [https://wiki2.railml.org/index.php?title=UC:Use_cases&action=edit its source], [[:railml3:UC:Use cases|the mirrored page]] and [https://wiki3.railml.org/index.php?title=UC:Use_cases&action=edit the mirrored source].
The template cannot be demonstrated here. To grasp its function compare {{wiki2|UC:Use cases}} with {{site|1=https://wiki2.railml.org/wiki/UC:Use_cases?action=edit|2=its source|mode=silent}} and {{wiki3|UC:Use cases|the mirrored page}} with {{site|1=https://wiki3.railml.org/wiki/UC:Use_cases?action=edit|2=its source|mode=silent}}.


[[category:template]]</noinclude>
[[category:template]]
{{interwiki}}
</noinclude>

Latest revision as of 17:57, 4 December 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.