Jump to content

Module:Check for deprecated parameters/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zackmann08 (talk | contribs) at 20:36, 30 November 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This module may be appended to a template to check for uses of deprecated parameters. The purpose is to locate deprecated parameters, display a message and place the page in a specific category noting that it is deprecated.

Note: due to the nature of deprecations, this module will often have no templates implementing it.

Todo

  • Needs to have a default preview message

Usage

{{#invoke:check for deprecated parameters|check
|category=[[Category:<category_name>|_VALUE_]]
|preview =Page using [[TEMPLATE_NAME]] with deprecated parameter _VALUE_
| old_param1 = new_param1 
| old_param2 = new_param2
| ....
| old_paramN = new_paramN
}}

See also