Jump to content

From Noumenapedia
Revision as of 18:43, 8 March 2026 by wikipedia>Zackmann08 (Reverted 1 edit by ~2026-14580-81 (talk) to last revision by Pppery)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Maintenance category/doc

__EXPECTED_UNCONNECTED_PAGE__

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

Code

<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">

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}}.

</syntaxhighlight>


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}}.
Code

<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">

</syntaxhighlight>

Code

<syntaxhighlight lang="wikitext" style="position:relative;bottom:9px;">

Alternative text: Usage with the <syntaxhighlight lang="wikitext" inline style="display: none;" />|alt= parameter.

</syntaxhighlight>

Alternative text: Usage with the <syntaxhighlight lang="wikitext" inline style="display: none;" />|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>

See also

Other category-header templates