Template:Mirror: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{note|This {{{2|page}}} is mirrored from page {{otherlink|{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}}} in {{otherlink}}.}}{{raw:{{otherwiki}}::{{{1|{{FULLPAGENAME}}}}}}}{{#if:{{{1|}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}}}</includeonly><noinclude>
<includeonly><!--
Hinweis erzeugen    -->{{note|1=This {{{2|page}}} is mirrored from page {{otherlink|{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}}} in {{otherlink}}.}}<!--
Transklussionsbefehl -->{{raw:{{otherwiki}}::{{{1|{{FULLPAGENAME}}}}}}}<!--
Gibt es schon einen Interwikilink? Wenn nein: Erzeugen.
                    -->{{#if:{{#var:interwiki{{current}}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}{{#vardefine:mirror|y}}}}</includeonly><noinclude>
==Usage==
==Usage==
Template for mirroring and linking pages with identical names from {{otherlink}}.
Template for mirroring and linking pages with identical names from {{otherlink}}.
Line 6: Line 10:
*'''2''' (optional): The object that is mirrored. The default is ''page'', but you might as well address a paragraph or table.
*'''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 {{wiki2|UC:Use cases}} with {{external|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 {{external|1=https://wiki3.railml.org/wiki/UC:Use_cases?action=edit|2=its source|mode=silent}}.
The template cannot be demonstrated here. To grasp its function compare {{wiki2|UC:Use cases}} with [https://wiki2.railml.org/wiki/UC:Use_cases?action=edit its source] and {{wiki3|UC:Use cases|the mirrored page}} with [https://wiki3.railml.org/wiki/UC:Use_cases?action=edit its source].


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

Revision as of 15:14, 3 April 2022

Usage

Template for mirroring and linking pages with identical names from The railML® 2 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.