Jump to content

Template:Unknown parameters category/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

Example

[edit]

{{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).

See also

[edit]