<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jasontank.net/conlangs/index.php?action=history&amp;feed=atom&amp;title=Module%3ACheck_for_unknown_parameters%2Fdoc</id>
	<title>Module:Check for unknown parameters/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jasontank.net/conlangs/index.php?action=history&amp;feed=atom&amp;title=Module%3ACheck_for_unknown_parameters%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://jasontank.net/conlangs/index.php?title=Module:Check_for_unknown_parameters/doc&amp;action=history"/>
	<updated>2026-06-10T15:50:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://jasontank.net/conlangs/index.php?title=Module:Check_for_unknown_parameters/doc&amp;diff=179&amp;oldid=prev</id>
		<title>Jason: Created page with &quot;{{module rating|beta}} &lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&gt;  This module may be appended to a template to check for uses of unknown...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jasontank.net/conlangs/index.php?title=Module:Check_for_unknown_parameters/doc&amp;diff=179&amp;oldid=prev"/>
		<updated>2016-03-27T21:18:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{module rating|beta}} &amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;  This module may be appended to a template to check for uses of unknown...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{module rating|beta}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module may be appended to a template to check for uses of unknown parameters.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#invoke:check for unknown parameters|check&lt;br /&gt;
|unknown=[[Category:Some tracking category]]&lt;br /&gt;
|arg1|arg2|...|argN}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or to sort the entries in the tracking category by parameter with a preview error message&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#invoke:check for unknown parameters|check&lt;br /&gt;
|unknown=[[Category:Some tracking category|_VALUE_]]&lt;br /&gt;
|preview=unknown parameter &amp;quot;_VALUE_&amp;quot;&lt;br /&gt;
|arg1|arg2|...|argN}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for an explicit red error message&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#invoke:check for unknown parameters|check&lt;br /&gt;
|unknown=&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;Sorry, I don&amp;#039;t recognize _VALUE_&amp;lt;/span&amp;gt;&lt;br /&gt;
|arg1|arg2|...|argN}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or to use hidden error messages which can be viewed in the HTML source and a preview error message&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#invoke:check for unknown parameters|check&lt;br /&gt;
|unknown=&amp;lt;span class=&amp;quot;error&amp;quot; style=&amp;quot;display:none&amp;quot;&amp;gt;HIDDEN ERROR: Usage of &amp;quot;_VALUE_&amp;quot; is not recognized&amp;lt;/span&amp;gt;&lt;br /&gt;
|preview=unknown parameter &amp;quot;_VALUE_&amp;quot;&lt;br /&gt;
|arg1|arg2|...|argN}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here, &amp;lt;code&amp;gt;arg1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;arg2&amp;lt;/code&amp;gt;, ..., &amp;lt;code&amp;gt;argN&amp;lt;/code&amp;gt;, are the known parameters.  Any parameter which is used, but not on this list, will cause the module to return whatever is passed with the &amp;lt;code&amp;gt;unknown&amp;lt;/code&amp;gt; parameter.  The &amp;lt;code&amp;gt;_VALUE_&amp;lt;/code&amp;gt; keyword, if used, will be changed to the name of the parameter.  This is useful for either sorting the entries in a tracking category, or for provide more explicit information.&lt;br /&gt;
&lt;br /&gt;
By default, the module makes no distinction between a defined-but-blank parameter and a non-blank parameter.  To only track non-blank parameters use {{para|ignoreblank|1}}.&lt;br /&gt;
=== Regular expressions ===&lt;br /&gt;
This module supports regular expressions, which are useful when there are many known parameters which use a systematic pattern.  For example, [[template:infobox3cols]] uses&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| regexp1 = header[%d][%d]*&lt;br /&gt;
| regexp2 = label[%d][%d]*&lt;br /&gt;
| regexp3 = data[%d][%d]*[abc]?&lt;br /&gt;
| regexp4 = class[%d][%d]*[abc]?&lt;br /&gt;
| regexp5 = rowclass[%d][%d]*&lt;br /&gt;
| regexp6 = rowstyle[%d][%d]*&lt;br /&gt;
| regexp7 = rowcellstyle[%d][%d]*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to match all parameters of the form &amp;lt;code&amp;gt;headerNUM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;labelNUM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dataNUM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dataNUMa&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dataNUMb&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dataNUMc&amp;lt;/code&amp;gt;, ..., &amp;lt;code&amp;gt;rowcellstyleNUM&amp;lt;/code&amp;gt;, where NUM is a string of digits.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Infobox&lt;br /&gt;
| above = {{{name|}}}&lt;br /&gt;
&lt;br /&gt;
| label1 = Height&lt;br /&gt;
| data1 = {{{height|}}}&lt;br /&gt;
&lt;br /&gt;
| label2 = Weight&lt;br /&gt;
| data2 = {{{weight|}}}&lt;br /&gt;
&lt;br /&gt;
| label3 = Website&lt;br /&gt;
| data3 = {{{website|}}}&lt;br /&gt;
}}&amp;lt;!-- &lt;br /&gt;
  end infobox, start tracking&lt;br /&gt;
--&amp;gt;{{#invoke:Check for unknown parameters|check&lt;br /&gt;
| unknown = [[Category:Some tracking category|_VALUE_]]&lt;br /&gt;
| preview = unknown parameter &amp;quot;_VALUE_&amp;quot;&lt;br /&gt;
| name&lt;br /&gt;
| height | weight&lt;br /&gt;
| website&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Templates invoking this module==&lt;br /&gt;
&lt;br /&gt;
The following is a list of templates which invoke this module, with the associated category for each.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable collapsible collapsed&amp;quot; style=&amp;quot;font-size:88%&amp;quot;&lt;br /&gt;
!  colspan=&amp;quot;2&amp;quot; class=&amp;quot;unsortable&amp;quot; style=&amp;quot;background-color:#ddd&amp;quot; | List of templates which invoke &amp;quot;Module:Check for unknown parameters&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Template !! Tracking/maintenance category&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Authority control]] || [[:Category:Pages using authority control with parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Aviation accidents and incidents]] || [[:Category:Pages using aviation accidents and incidents with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Country topics]] || [[:Category:Pages using country topics with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox3cols]] || [[:Category:Pages using infobox3cols with undocumented parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox academic division]] || [[:Category:Pages using infobox academic division with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox amateur wrestler]] || [[:Category:Pages using infobox amateur wrestler with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox anatomy]] || [[:Category:Medicine infobox template using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox artery]] || [[:Category:Medicine infobox template using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox astronaut]] || [[:Category:Pages using infobox astronaut with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox award]] || [[:Category:Pages using infobox award with undocumented parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox bone]] || [[:Category:Medicine infobox template using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox brain]] || [[:Category:Medicine infobox template using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox broadcast]] || [[:Category:Broadcast infoboxes with deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox city Japan]] || [[:Category:Pages using infobox city Japan with unsupported parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox Daytona 500]] || [[:Category:Pages using infobox Daytona 500 with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox embryology]] || [[:Category:Medicine infobox template using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox event]] || [[:Category:Pages using infobox event with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox Grand Prix race report]] || [[:Category:Pages using infobox Grand Prix race report with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox Hindu temple]] || [[:Category:Pages using infobox Hindu temple with deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox horseraces]] || [[:Category:Pages using infobox horseraces with deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox language]] || [[:Category:Language articles with unsupported infobox fields]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox language family]] || [[:Category:Language articles with unsupported infobox fields]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox ligament]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox lymph]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox military installation]] || [[:Category:Pages using infobox military installation with deprecated syntax]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox Minor League Baseball]] || [[:Category:Minor League Baseball Infobox using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox muscle]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox musical artist]] || [[:Category:Pages using Template:Infobox musical artist with unknown parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox NASCAR race report]] || [[:Category:Pages using infobox NASCAR race report with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox nerve]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox neuron]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox NFL coach]] || [[:Category:Pages using infobox NFL coach with deprecated syntax]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox political party]] || [[:Category:Political party articles using deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox public transit]] || [[:Category:Public transit articles with unsupported infobox fields]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox restaurant]] || [[:Category:Pages using infobox restaurant with unsupported parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox school district]] || [[:Category:Pages using infobox school district with unsupported parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox settlement]] || [[:Category:Settlement articles requiring maintenance]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox speedway rider]] || [[:Category:Pages using Infobox Speedway rider with unknown or deprecated parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox sports rivalry]] || [[:Category:Pages using infobox sports rivalry with unknown parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Infobox vein]] || [[:Category:Medicine infobox template using deprecated parameters]] &lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Multiple issues]] || [[:Category:Pages using multiple issues with incorrect parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:WikiProject Africa]] || [[:Category:Africa articles with invalid parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:WikiProject Central America]] || [[:Category:Central America articles with invalid parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:WikiProject United States]] || [[:Category:United States articles with invalid parameters]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Template:Year box]] || [[:Category:Pages using year box with unknown parameters]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[:module:TemplatePar]] (originally from dewiki)&lt;br /&gt;
* [[Template:Parameters]] and [[Module:Parameters]] – generates a list of parameter names for a given template&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason</name></author>
		
	</entry>
</feed>