Sample Page

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

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