| This template is used on approximately 95,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template should never be substituted – use {{Maintenance category}}. |
Usage
This template should be placed at the top of categories used in the maintenance of Wikipedia, rather than as part of the encyclopedia — for example, at the top of Category:Wikipedia administration.
Parameters
The following descriptions assume the template is transcluded on a page in the Category namespace.
<syntaxhighlight lang="wikitext" inline style="display: none;" />|container=true/yes | Causes the template to add the page (the category) to Category:Container categories and include a {{Container category}} style message. To inhibit self-categorisation, set <syntaxhighlight lang="wikitext" inline style="display: none;" />|container_category=no. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|tracking=true/yes | Causes the template to add the page (the category) to Category:Tracking categories and include a {{Tracking category}} style message. To inhibit self-categorisation, set <syntaxhighlight lang="wikitext" inline style="display: none;" />|tracking_category=no. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|purpose= | To add a short explanation of the tracking category after the message, use <syntaxhighlight lang="wikitext" inline style="display: none;" />|purpose=Short explanation. The <syntaxhighlight lang="wikitext" inline style="display: none;" />|tracking= parameter must be set to true or yes to display. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|desc= | Text supplied will be placed below the template with a boldfaced header of "Description:". The word "Description" can be replaced by something else, using <syntaxhighlight lang="wikitext" inline style="display: none;" />|alt=Something else. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|hidden=true/yes | Causes the template to hide the page (the category), add it to Category:Hidden categories and to include a {{Hidden category}} style message. Using <syntaxhighlight lang="wikitext" inline style="display: none;" />|tracking=false/no or <syntaxhighlight lang="wikitext" inline style="display: none;" />|tracking=true/yes, in addition, will give slightly different messages in the box. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|empty=true/yes | Includes a {{Possibly empty category}} style message. In addition, to add a short explanation of the empty category after the message, use <syntaxhighlight lang="wikitext" inline style="display: none;" />|empty_text=Short explanation. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|polluted=false/no | Exclude categories that legitimately contain pages in both the (Main) namespace and the user namespace from Wikipedia:Database reports/Polluted categories. |
<syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut1= | Enables a shortcut to the category to be displayed by the template. Multiple shortcuts are supported: from <syntaxhighlight lang="wikitext" inline style="display: none;" /> |shortcut1=, up to <syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut5=. |
Aliases
- The first positional parameter is recognised as an alias for <syntaxhighlight lang="wikitext" inline style="display: none;" />
|desc=. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|desc=and the positional parameter are present, the positional parameter is ignored.
- The parameter <syntaxhighlight lang="wikitext" inline style="display: none;" />
|1=is recognised as an alias for <syntaxhighlight lang="wikitext" inline style="display: none;" />|desc=. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|desc=and <syntaxhighlight lang="wikitext" inline style="display: none;" />|1=are present, <syntaxhighlight lang="wikitext" inline style="display: none;" />|1=is ignored.
- The parameter <syntaxhighlight lang="wikitext" inline style="display: none;" />
|ALTTEXT=is recognised as an alias for <syntaxhighlight lang="wikitext" inline style="display: none;" />|alt=. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|alt=and <syntaxhighlight lang="wikitext" inline style="display: none;" />|ALTTEXT=are present, <syntaxhighlight lang="wikitext" inline style="display: none;" />|ALTTEXT=is ignored.
- The parameter <syntaxhighlight lang="wikitext" inline style="display: none;" />
|description=is recognised as an alias for <syntaxhighlight lang="wikitext" inline style="display: none;" />|purpose=. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|purpose=and <syntaxhighlight lang="wikitext" inline style="display: none;" />|description=are present, <syntaxhighlight lang="wikitext" inline style="display: none;" />|description=is ignored.
- The parameter <syntaxhighlight lang="wikitext" inline style="display: none;" />
|shortcut1=is recognised as an alias for <syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut=. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut=and <syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut1=are present, <syntaxhighlight lang="wikitext" inline style="display: none;" />|shortcut1=is ignored.
Examples
<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">
{{Citation needed}} template. Does not include discussion pages tagged with {{Talkfact}}.</syntaxhighlight>
{{Citation needed}} template. Does not include discussion pages tagged with {{Talkfact}}.<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">
{{albumchart|Billboard200}}.- This category is hidden on its member pages—unless the corresponding user preference (Appearance → Show hidden categories) is set.
- These categories can be used to track, build and organize lists of pages needing "attention en masse" (for example, pages using deprecated syntax), or that may need to be edited at someone's earliest convenience.
- These categories also serve to aggregate members of several lists or sub-categories into a larger, more efficient list (discriminated by classifications).
</syntaxhighlight>
{{albumchart|Billboard200}}.- This category is hidden on its member pages—unless the corresponding user preference (Appearance → Show hidden categories) is set.
- These categories can be used to track, build and organize lists of pages needing "attention en masse" (for example, pages using deprecated syntax), or that may need to be edited at someone's earliest convenience.
- These categories also serve to aggregate members of several lists or sub-categories into a larger, more efficient list (discriminated by classifications).
<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">
|frequency= parameter of their {{Infobox journal}}. This category should ideally be empty, but will be populated when non-standard <syntaxhighlight lang="wikitext" inline style="display: none;" />|frequency= parameters are used.|alt= parameter.</syntaxhighlight>
|frequency= parameter of their {{Infobox journal}}. This category should ideally be empty, but will be populated when non-standard <syntaxhighlight lang="wikitext" inline style="display: none;" />|frequency= parameters are used.|alt= parameter.TemplateData
<templatedata> { "params": { "container": { "type": "boolean" }, "container_category": { "type": "wiki-page-name" }, "category": { "type": "wiki-page-name" }, "tracking": { "type": "boolean" }, "purpose": { "aliases": [ "description" ], "type": "string" }, "tracking_category": { "type": "wiki-page-name" }, "hidden": { "type": "boolean" }, "empty": { "type": "boolean" }, "empty_text": { "type": "string" }, "polluted": { "type": "boolean" }, "shortcut": { "type": "line", "aliases": [ "shortcut1" ] }, "shortcut2": { "type": "line" }, "shortcut3": { "type": "line" }, "shortcut4": { "type": "line" }, "shortcut5": { "type": "line" }, "nocat": { "type": "boolean" }, "desc": { "aliases": [ "1" ], "type": "string" }, "alt": { "aliases": [ "ALTTEXT" ], "type": "string" } }, "format": "inline", "paramOrder": [ "category", "container", "container_category", "tracking", "tracking_category", "purpose", "hidden", "empty", "empty_text", "polluted", "shortcut", "shortcut2", "shortcut3", "shortcut4", "shortcut5", "nocat", "desc", "alt" ] } </templatedata>