968 bytes added
, 20:56, 15 July 2021
{{Module rating |protected}}
{{high-use}}
{{Lua|Module:If preview}}
'''Module:Check for deprecated parameters''' may be appended to a template to check for uses of deprecated parameters. It will place the page in a specific category, and display a preview message, when it finds deprecated parameter uses.
'''Note:''' due to the nature of deprecations, this module will often have no templates implementing it.
== Usage ==
<pre>
{{#invoke:check for deprecated parameters|check
|category=[[Category:<category_name>|_VALUE_]]
| old_param1 = new_param1
| old_param2 = new_param2
| ....
| old_paramN = new_paramN
}}
</pre>
==See also==
* [[:Category:Deprecated parameters]]
* [[:Module:Check for unknown parameters]]
* [[:Module:Check for clobbered parameters]] – module that checks for conflicting parameters
<includeonly>{{sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules that add a tracking category]]
}}</includeonly>