Toggle menu
15
236
70
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From Kenshi Wiki
Created page with "{{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 == <syntaxhighlight lang="wikitext"> {{#invoke:Check..."
 
No edit summary
Line 1: Line 1:
{{Module rating |protected}}
{{doc sub}}
{{high-use}}
{{Lua|Module:If preview}}
{{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.
'''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.
Line 25: Line 24:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules]]
[[Category:Modules that add a tracking category]]
[[Category:Modules that add a tracking category]]
[[Category:Template metamodules]]
[[Category:Template metamodules]]

Revision as of 22:25, 27 February 2025

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