| Description | Adds a link to insert a check for unknown parameters in a template. |
|---|---|
| Author | Zackmann08 |
| Updated | December 7, 2025 (5 days ago) |
| Source | User:Zackmann08/ AddCheckForUnknownParameters.js |
Installing this script will add a Chk4unkwn option to your tools section that allows you to quickly and easily generate a {{#invoke:Check for unknown parameters|check}} with the parameters in the template.
This script was created as a fork of User:Frietjes/addcheckforunknownparameters.js but there are there are a few key differences.
- My version will
- Detect the presence of Module:Infobox mapframe and set
|mapframe_args=yin the call to Check for unknown parameters - Detect the presence of Module:Person date and add
birth_date&death_dateto the param list. - Attempt to replace and update the call to
{{#invoke:Check for unknown parameters|check}}if it is already present in the code.
Installation
[edit]- Go to your common JavaScript and paste in the following line:
{{subst:iusc|User:Zackmann08/AddCheckForUnknownParameters.js}}
- Save the page.