User:Zackmann08/AddCheckForUnknownParameters

SetupAutoArchive
DescriptionAdds a link to insert a check for unknown parameters in a template.
AuthorZackmann08
UpdatedDecember 7, 2025
    (5 days ago)
SourceUser: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
  1. Detect the presence of Module:Infobox mapframe and set |mapframe_args=y in the call to Check for unknown parameters
  2. Detect the presence of Module:Person date and add birth_date & death_date to the param list.
  3. Attempt to replace and update the call to {{#invoke:Check for unknown parameters|check}} if it is already present in the code.

Installation

[edit]
  1. Go to your common JavaScript and paste in the following line:
    {{subst:iusc|User:Zackmann08/AddCheckForUnknownParameters.js}}
  2. Save the page.