Module:Check for clobbered parameters/doc
This is the documentation page for Module:Check for clobbered parameters
Script error: No such module "High-use". Lua error in package.lua at line 80: module 'Module:Yesno' not found. This module may be appended to a template to check for uses of tuples of conflicting parameters.
Usage[edit source]
Basic usage[edit source]
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
Here, (arg1a
, arg1b
), (arg2a
, arg2b
, arg2c
), are tuples of the conflicting parameters.
By default, the module ignores blank parameters which is useful for {{if empty}} chains of parameters. For nested chains of parameters, use |nested=1
to consider blank parameters as well.
By default, the delimiter for the tuples is ;
but this can be changed with |delimiter=
.
The value of |template=
is used to for the text of the preview warning message. When omitted, the module will use a generic message.
Example 1[edit source]
<syntaxhighlight lang="wikitext">
Founder | Script error: No such module "If empty". |
---|---|
Headquarters | Script error: No such module "If empty". |
</syntaxhighlight>
Example 2[edit source]
<syntaxhighlight lang="wikitext"> </syntaxhighlight>