Jump to content

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

From Wikipedia, the free encyclopedia
Content deleted Content added
m Usage: syntaxhighlight lang="wikitext"
Line 7: Line 7:
== Usage ==
== Usage ==
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{#invoke:check for deprecated parameters|check
{{#invoke:Check for deprecated parameters|check
| category = [[Category:category_name|_VALUE_]]
| category = [[Category:category_name|_VALUE_]]
| old_param1 = new_param1
| old_param1 = new_param1

Revision as of 10:57, 11 September 2023

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

{{#invoke:Check for deprecated parameters|check
| category = [[Category:category_name|_VALUE_]]
| old_param1 = new_param1 
| old_param2 = new_param2
| ....
| old_paramN = new_paramN
}}

See also