Template:Unknown parameters category/doc
This is a documentation subpage for Template:Unknown parameters category. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]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:
- Template:Tlxi
- 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
[edit source]{{Unknown parameters category|Infobox writer}}
(see Category:Pages using Infobox writer with unknown parameters):
Custodians: Please keep this category, even when empty! This category may be empty occasionally or even most of the time. |
This is a tracking category. It is used to build and maintain a list or lists of pages—primarily for the sake of the lists themselves and their use in resources and category maintenance. It is not part of the categorization scheme for learners.
More information:
|
Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time. |
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 source]- Category:Unknown parameters (8)
- Category:Infoboxes with unknown parameters (0)
- Module:Check for unknown parameters