Module:Check for clobbered parameters/doc: Difference between revisions

Content deleted Content added
No edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1:
{{Module rating |beta}}
{{high-use|111137}}
{{Lua|Module:If preview}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This module may be appended to a template to check for uses of tuples of conflicting parameters.
 
== Usage ==
=== Basic usage ===
<syntaxhighlight lang="wikitext">
<pre>
{{#invoke:Check for clobbered parameters|check
|nested=1
Line 12:
|cat={{main other|Category:Some tracking category}}
|arg1a; arg1b|arg2a; arg2b; arg2c|...|argNa; argNb}}
</syntaxhighlight>
</pre>
Here, (<code>arg1a</code>, <code>arg1b</code>), (<code>arg2a</code>, <code>arg2b</code>, <code>arg2c</code>), are tuples of the conflicting parameters.
 
Line 22:
 
== Example 1 ==
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox
| above = {{{name|}}}
Line 39:
| founders; founder
| headquarters; hq; ___location
}}</presyntaxhighlight>
 
== Example 2 ==
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox
| above = {{{name|}}}
Line 60:
| founders; founder
| headquarters; hq; ___location
}}</presyntaxhighlight>
 
==See also==
* [[Module:Check for unknown parameters]]
* [[Module:Check for deprecated parameters]]
* [[Module:Params]]
* [[Template:Conflicting parameters category]] (for use on category pages)
 
<includeonly>{{sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules that add a tracking category]]
 
[[Category:Template metamodules]]
}}</includeonly>
<noinclude>
[[Category:Module documentation pages]]
</noinclude>