Module:Check for deprecated parameters/doc: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Module | [[Category:Module documents]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:19, 11 March 2025
This is a documentation subpage for Module:Check for deprecated parameters. It may contain usage information, categories and other content that is not part of the original module page. |
Uses Lua: |
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
}}
By default, this module will flag empty uses of deprecated parameters. To turn this off, set |ignoreblank=yes
.
See also
- Category:Deprecated parameters
- Module:Params – for complex operations involving parameters
- Module:Check for unknown parameters
- Module:Check for clobbered parameters – module that checks for conflicting parameters