Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:26, 8 February 2024 by 1F616EMO (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

|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 |container_category=no.
|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 |tracking_category=no.
|purpose= To add a short explanation of the tracking category after the message, use |purpose=Short explanation. The |tracking= parameter must be set to true or yes to display.
|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 |alt=Something else.
|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 |tracking=false/no or |tracking=true/yes, in addition, will give slightly different messages in the box.
|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 |empty_text=Short explanation.
|polluted=false/no Exclude categories that legitimately contain pages in both the (Main) namespace and the user namespace from Wikipedia:Database reports/Polluted categories.
|shortcut1= Enables a shortcut to the category to be displayed by the template.
Multiple shortcuts are supported: from |shortcut1=, up to |shortcut5=.

Aliases

Template:WPBannerDoc/alias Template:WPBannerDoc/alias Template:WPBannerDoc/alias Template:WPBannerDoc/alias Template:WPBannerDoc/alias

Examples

Template:Center

{{Maintenance category
|shortcut=CAT:WCAT
|hidden=true
|tracking=false
|purpose=This category tracks pages tagged with {{tl|Citation needed}}.<!-- This text will not display since "tracking" is set to "false"-->
|desc=Category for articles (and other pages, such as portals and mainspace-intended templates) tagged as needing or more citations for verification, using the {{tlx|Citation needed}} template. Does not include discussion pages tagged with {{tlx|Talkfact}}.
}}


Description: Category for articles (and other pages, such as portals and mainspace-intended templates) tagged as needing or more citations for verification, using the {{Citation needed}} template. Does not include discussion pages tagged with {{Talkfact}}.

Template:Center

{{Maintenance category
|tracking=true
|purpose=This category tracks pages that use {{tlx|albumchart|Billboard200}}.
}}

Template:Center

{{Maintenance category
|empty=true
|empty_text=This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}.  This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
|alt='''Alternative text''':
|desc=Usage with the {{para|alt}} parameter.
}}
Alternative text: Usage with the |alt= parameter.

See also

Template:Other category-header templates