<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AMultiReplace%2Fdoc</id>
	<title>Template:MultiReplace/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AMultiReplace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:MultiReplace/doc&amp;action=history"/>
	<updated>2026-11-01T08:12:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:MultiReplace/doc&amp;diff=114708&amp;oldid=prev</id>
		<title>Wikipedia&gt;Chrisahn: Module:Params has been deleted</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:MultiReplace/doc&amp;diff=114708&amp;oldid=prev"/>
		<updated>2026-07-29T15:56:34Z</updated>

		<summary type="html">&lt;p&gt;Module:Params has been deleted&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high use}}&lt;br /&gt;
{{lua|Module:{{#ifeq:{{NAMESPACE}}|Module|Error|MultiReplace}}}}&lt;br /&gt;
{{For-text|a function to search for multiple patterns|{{mfl|string2|matchAny}}}}&lt;br /&gt;
&lt;br /&gt;
Replaces matches of multiple patterns in a given string with given replacements. For each replacement instance, the pattern matching &amp;#039;&amp;#039;&amp;#039;at the lowest position&amp;#039;&amp;#039;&amp;#039; is chosen. If there are multiple such patterns, then the one specified earliest in the pattern list is chosen.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{((}}{{#ifeq:{{NAMESPACE}}|Module|&amp;amp;#35;invoke:MultiReplace{{!}}main|MultiReplace}}{{!}}&amp;#039;&amp;#039;input&amp;#039;&amp;#039;|plain=yes&amp;lt;small style=&amp;quot;font-family:sans&amp;quot;&amp;gt; (optional)&amp;lt;/small&amp;gt;|&amp;#039;&amp;#039;pattern1&amp;#039;&amp;#039;| &amp;#039;&amp;#039;replacement1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;pattern2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;replacement2&amp;#039;&amp;#039;... {{))}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;plain=yes&amp;lt;/code&amp;gt; is specified, then the patterns and replacements are treated as plain text, otherwise as [[mw:Extension:Scribunto/Lua reference manual#mw.ustring.gsub|Lua Unicode patterns]].&lt;br /&gt;
&lt;br /&gt;
An equals sign in a pattern will trigger an &amp;#039;&amp;#039;Unpaired argument&amp;#039;&amp;#039; error. Use  {{tlx|{{=}}}}, which expands to an equals sign that will not be interpreted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Chrisahn</name></author>
	</entry>
</feed>