Kolmapäev, august 05, 2026

Ajalugu, Täna ajaloos

TÄNA AJALOOS, 11. juuli ⟩ Avati Tallinna teletorn

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:Location map, specifically the function infobox_pushpin_map, and set |pushpin_map_args=y in the call to Check for unknown parameters
  3. Detect the presence of Module:Person date and add birth_date & death_date to the param list.
  4. 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.

Leave a Reply