Template:ChangesRobot: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 5: Line 5:
}}<!--
}}<!--
-->{{#ifexist:{{PAGENAME}}/{{{1}}}|{{#ifexist:{{PAGENAME}}/{{{2}}}|<!--
-->{{#ifexist:{{PAGENAME}}/{{{1}}}|{{#ifexist:{{PAGENAME}}/{{{2}}}|<!--
Beide-->{{#ifeq:{{#var:documentation_{{PAGENAME}}/{{{1}}}}}|{{#var:documentation_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}
Beide-->{{#ifeq:{{#var:documentation_{{PAGENAME}}/{{{1}}}}}|{{#var:documentation_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}{{#vardefine:rapport|{{#var:rapport}}
The element documentation has been changed}}<!--
The element documentation has been changed}}}}<!--
-->|<!--
-->|<!--
Nur 1-->{{#vardefine:change|1}}{{#vardefine:intro|1}}{{#vardefine:rapport|{{#var:rapport}}
Nur 1-->{{#vardefine:change|1}}{{#vardefine:intro|1}}{{#vardefine:rapport|{{#var:rapport}}
Line 13: Line 13:
Introduced with version {{{2}}}}}|<!--
Introduced with version {{{2}}}}}|<!--
Keines-->}}<!--
Keines-->}}<!--
-->{{#ifeq:{{#var:change}}|1|{{#ifeq:{{#var:intro}}|0|[[category:Changes/{{{2}}}]]Kategorisiert}}{{#var:rapport}}}}</includeonly><noinclude>
-->{{#ifeq:{{#var:change}}|1|{{#ifeq:{{#var:intro}}|0|[[category:Changes/{{{2}}}]]}}{{#var:rapport}}}}</includeonly><noinclude>
==Usage==
==Usage==
This template compares two versions of an element and displays and categorizes changes. It is called by [[Template:Robot]]. The categories will be names ''Changes/<nowiki>{{{2}}}</nowiki>, e.g. [[:Category:Changes/3.2]]. The respective categories are supposed to be collected manually in [[:Category:Changes]].
This template compares two versions of an element and displays and categorizes changes. It is called by [[Template:Robot]]. The categories will be names ''Changes/<nowiki>{{{2}}}</nowiki>, e.g. [[:Category:Changes/3.2]]. The respective categories are supposed to be collected manually in [[:Category:Changes]].

Revision as of 15:21, 4 April 2022

Usage

This template compares two versions of an element and displays and categorizes changes. It is called by Template:Robot. The categories will be names Changes/{{{2}}}, e.g. Category:Changes/3.2. The respective categories are supposed to be collected manually in Category:Changes.

Arguments

  • 1: the old version
  • 2: the new version