Template:Mirror: Difference between revisions

From railTOPOMODEL® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly><!-- Welches Wiki wird gespiegelt?-->{{#vardefine:fullpage|{{#ifeq:{{NAMESPACE}}|railML3 Wiki|railML 2 Wiki:{{PAGENAME}}|{{FULLPAGENAME}}}}}}<!-- Hinweis erzeugen -->{{note|1=This {{{2|page}}} is mirrored from page {{wiki{{{3|3}}}|{{{1|{{#var:fullpage}}}}}|{{{1|{{#var:fullpage}}}}}}} in {{rml{{{3|3}}}}}.}}<!-- Transklussionsbefehl -->{{raw:wiki{{{3|3}}}::{{{1|{{#var:fullpage}}}}}}}<!-- Gibt es schon einen Interwikilink? Wenn nein: Erzeugen....")
 
No edit summary
Line 6: Line 6:
                     -->{{#if:{{#var:interwiki{{current}}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}{{#vardefine:mirror}}}}</includeonly><noinclude>
                     -->{{#if:{{#var:interwiki{{current}}}}||{{interwiki|{{{1|{{FULLPAGENAME}}}}}}}{{#vardefine:mirror}}}}</includeonly><noinclude>
==Usage==
==Usage==
Template for mirroring and linking pages with identical names from {{otherlink}}.
Template for mirroring and linking pages with from the {{rml}} wikis.
===Arguments===
===Arguments===
*'''1''' (optional): The mirrored page (on default the current pagename)
*'''1''' (optional): The mirrored page (on default the current pagename)

Revision as of 14:29, 15 April 2024

Usage

Template for mirroring and linking pages with from the railML® wikis.

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.
  • 3 (optional): Which wiki will be mirrored? 2 for railML® 2; 3 (default) for railML® 3.

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.