Template:Universal replace

Purpose

Used at User:CommonsDelinker/commands and User:CommonsDelinker/commands/filemovers and User talk:CommonsDelinker/commands only, and read by the global bot CommonsDelinker. It is typically but not exclusively added there by the rename gadget rather than manually. Do NOT put this template on any other page (such as on a file page), it will not have any effect there. The bot takes its commands ONLY from User:CommonsDelinker/commands, and sysops occasionally manually move commands from User:CommonsDelinker/commands/filemovers and User talk:CommonsDelinker/commands to the protected page User:CommonsDelinker/commands.

Examples and selftest


{{Universal replace|Dog.jpg|Canis lupus signatus - 01.jpg}}
{{Universal replace|Cat.jpg|Felis silvestris silvestris.jpg|reason=abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz}}
CommonsDelinker: Replace File:Dog.jpg (LU,GU) with File:Canis lupus signatus - 01.jpg (LU,GU) across all Wikimedia projects.
CommonsDelinker: Replace File:Cat.jpg (LU,GU) with File:Felis silvestris silvestris.jpg (LU,GU) across all Wikimedia projects. Reason: abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

{{Universal replace|Nothing.svg}}
ERROR: "Template:Universal replace" requires two anonymous parameters

Category:Bot command templates
Category:Bot command templates