Template:Unknown parameters category
Usage
This template is a page header for a category page that is populated by Module:Check for unknown parameters.
To use it, add the following to the category page:
{{Unknown parameters category|TEMPLATE_NAME}}
- where
TEMPLATE_NAME
is the name of the template the category is tracking.
The header displays message boxes, a table of contents, and will add the category page to Category:Unknown parameters.
When the first word of TEMPLATE_NAME
is Infobox, the template also adds the category page to Category:Infoboxes with unknown parameters.
- Full syntax
{{Unknown parameters category|1= |catsort= |is_infobox= |infobox_sort= }}
- Parameter options
|1=
first parameter is the TEMPLATE_NAME.|catsort=
sets how the category-page is sorted in Category:Unknown parameters. Default sorting is by template name (|1=
). Example: Category:Pages using Belgium data templates ... has|catsort=Belgium
(not by template name {{Metadata Population BE}}).|is_infobox=yes
lists the category page in Category:Infoboxes with unknown parameters. Default listing occurs when template name starts withInfobox
. Example: {{Chembox}}.|infobox_sort=
sets category sorting in Category:Infoboxes with unknown parameters. Default sorting is by template name. Example: {{routemap-Infobox}}
Example
{{Unknown parameters category|Infobox writer}}
(see Category:Pages using Infobox writer with unknown parameters):
This category contains pages transcluding Template:Infobox writer (talk) with unknown parameters (undefined, misspelled, etc.).
Pages are typically sorted alphabetically by the unknown parameter that is used, e.g. pages using unknown parameter |foo=
will be sorted under "F". The name of the page is typically used as a secondary sort key.
Unknown parameters can be detected using Module:Check for unknown parameters in the template. To show the information listed here on a category page, use {{Unknown parameters category}} on the category page.
(This example would also add the category page to Category:Unknown parameters and Category:Infoboxes with unknown parameters).