Template:ChangesRobot: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked 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}}{{#vardefine:rapport|{{#var:rapport}} | Beide-->{{#ifeq:{{#var:documentation_{{PAGENAME}}/{{{1}}}}}|{{#var:documentation_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}[[category:DocumentationChanges/{{{2}}}]]{{#vardefine:rapport|{{#var:rapport}} | ||
The element documentation has been changed.}}}}<!-- | The element documentation has been changed.}}}}<!-- | ||
-->{{#ifeq:{{#var:parents_{{PAGENAME}}/{{{1}}}}}|{{#var:parents_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}{{#vardefine:rapport|{{#var:rapport}} | -->{{#ifeq:{{#var:parents_{{PAGENAME}}/{{{1}}}}}|{{#var:parents_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}[[category:ParentChanges/{{{2}}}]]{{#vardefine:rapport|{{#var:rapport}} | ||
The parents have changed.}}}}<!-- | The parents have changed.}}}}<!-- | ||
-->{{#ifeq:{{#var:children_{{PAGENAME}}/{{{1}}}}}|{{#var:children_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}{{#vardefine:rapport|{{#var:rapport}} | -->{{#ifeq:{{#var:children_{{PAGENAME}}/{{{1}}}}}|{{#var:children_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}[[category:ChildsChanges/{{{2}}}]]{{#vardefine:rapport|{{#var:rapport}} | ||
The children have changed.}}}}<!-- | The children have changed.}}}}<!-- | ||
-->{{#ifeq:{{#var:attributes_{{PAGENAME}}/{{{1}}}}}|{{#var:attributes_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}{{#vardefine:rapport|{{#var:rapport}} | -->{{#ifeq:{{#var:attributes_{{PAGENAME}}/{{{1}}}}}|{{#var:attributes_{{PAGENAME}}/{{{2}}}}}||{{#vardefine:change|1}}[[category:AttributeChanges/{{{2}}}]]{{#vardefine:rapport|{{#var:rapport}} | ||
The attributes have been changed.}}}}<!-- | The attributes have been changed.}}}}<!-- | ||
Line 23: | Line 23: | ||
Introduced with version {{{2}}}.{{#ifeq:{{{subschema}}}|generic|{{#ifexist:CO:{{{element}}}| There exists an element {{tag|CO|{{{element}}}|ex=1}} that might have preceded it. }}}}}}|<!-- | Introduced with version {{{2}}}.{{#ifeq:{{{subschema}}}|generic|{{#ifexist:CO:{{{element}}}| There exists an element {{tag|CO|{{{element}}}|ex=1}} that might have preceded it. }}}}}}|<!-- | ||
Keines-->}}<!-- | Keines-->}}<!-- | ||
-->{{#ifeq:{{#var:change}}|1|{{#ifeq:{{#var:intro}}|0|[[category:Changes/{{{2}}}]]}}{{#var:rapport}}}}</includeonly><noinclude> | -->{{#ifeq:{{#var:change}}|1|{{#ifeq:{{#var:intro}}|0|[[category:Changes/{{{2}}}]]}}{{#var:rapport}}|[[category:NoChanges/{{{2}}}]]}}</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 17:27, 25 September 2024
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