This is the template test cases page for the sandbox of Template:MultiReplace. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Template transclusion
editNo input
{{MultiReplace}}
{{MultiReplace}} | → | {{{1}}} |
---|---|---|
{{MultiReplace/sandbox}} | → | {{{1}}} |
Empty input
{{MultiReplace|}}
{{MultiReplace}} | → | |
---|---|---|
{{MultiReplace/sandbox}} | → |
One replacement twice
{{MultiReplace|i|I|1=input=tupni}}
{{MultiReplace}} | → | Input=tupnI |
---|---|---|
{{MultiReplace/sandbox}} | → | Input=tupnI |
Two replacements once
{{MultiReplace|input|i|I|t|T}}
{{MultiReplace}} | → | InpuT |
---|---|---|
{{MultiReplace/sandbox}} | → | InpuT |
Unpaired argument
{{MultiReplace|input|i|I|t}}
{{MultiReplace}} | → |
MultiReplace: Unpaired argument: 4 = t |
---|---|---|
{{MultiReplace/sandbox}} | → |
MultiReplace: Unpaired argument: 4 = t |
Module invocation
editNo input
{{#invoke:MultiReplace|main}}
MultiReplace | → | {{{1}}} |
---|---|---|
MultiReplace/sandbox | → | {{{1}}} |
Empty input
{{#invoke:MultiReplace|main|}}
MultiReplace | → | |
---|---|---|
MultiReplace/sandbox | → |
One replacement twice
{{#invoke:MultiReplace|main|1=input=tupni|2=i|3=I}}
MultiReplace | → | Input=tupnI |
---|---|---|
MultiReplace/sandbox | → | Input=tupnI |
Two replacements once
{{#invoke:MultiReplace|main|input|i|I|t|T}}
MultiReplace | → | InpuT |
---|---|---|
MultiReplace/sandbox | → | InpuT |
Unpaired argument
{{#invoke:MultiReplace|main|input|i|I|t}}
MultiReplace | → |
MultiReplace: Unpaired argument: 4 = t |
---|---|---|
MultiReplace/sandbox | → |
MultiReplace: Unpaired argument: 4 = t |