Module:checkparams/documentation

Editor info
If you're seen a warning that "The template does not use the parameter(s)" while editing a page, the error was generated by this module. This module can detect all of the parameters that are used by a template and will generate a warning when a template is called with an unexpected parameter. In many cases, the error might be generated by a typo in the parameter name (eg, "pge" instead of "page") and can simply be corrected by consulting the template's documentation.

If you're absolutely certain that a template should allow the parameter even though it's not going to actually use the parameter, you can override the automatic parameter detection by adding a  plus a comma separated list of additional parameters that should be accepted to the   or the   line at the top of the template.

For example, to allow parameters "3" and "comment" in the following template Written by and  in

change it to: Written by and  in

Developer information
This module generates warnings when passing bad parameters to a template. It adds a user-visible warning to the preview, an attention warning to the page, and categorizes the page into Category:Pages using bad params when calling a template

Parameters

 * 1
 * A comma separated list of additional allowed parameters, in addition to those automatically detected by the module.


 * nocat
 * Suppress categorization.