Template:Maintenance category: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(added hidden param and new "expectunusedcategory" magic word)
(custom links param)
Line 1: Line 1:
{{Page notice
{{Page notice
|description=is a wiki maintenance category. It should usually not contain any members, if all issues have been dealt with. Therefore, please do not delete this category for being empty.{{#if:{{{hidden|}}}|__HIDDENCAT__<br /><br />This category is hidden, meaning it does not appear on pages by default. To see hidden categories, check "Show hidden categories" in [[Special:Preferences|Preferences]] -> Appearance.}}
|description=is a wiki maintenance category. It should usually not contain any members, if all issues have been dealt with. Therefore, please do not delete this category for being empty.{{#if:{{{hidden|}}}|__HIDDENCAT__<br /><br />This category is hidden, meaning it does not appear on pages by default. To see hidden categories, check "Show hidden categories" in [[Special:Preferences|Preferences]] -> Appearance.}}
|links={{#if:{{{1|<noinclude>x</noinclude>}}}|Populated by: [[Template:{{{1}}}]]}}
|links={{#if:{{{links|}}}|Populated by: {{{links}}}|{{#if:{{{1|<noinclude>x</noinclude>}}}|Populated by: [[Template:{{{1}}}]]}}}}
|noedit=x
|noedit=x
}}<includeonly>{{#if:{{{hidden|}}}||[[Category:Maintenance]]}}__EXPECTUNUSEDCATEGORY__</includeonly><noinclude>{{documentation}}</noinclude>
}}<includeonly>{{#if:{{{hidden|}}}||[[Category:Maintenance]]}}__EXPECTUNUSEDCATEGORY__</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 06:08, 5 July 2021

This page is a wiki maintenance category. It should usually not contain any members, if all issues have been dealt with. Therefore, please do not delete this category for being empty.
Populated by: [[Template:{{{1}}}]]

Documentation [edit]

This template is used to mark a category that should usually be empty, as it is used for maintenance of wiki pages. This adds Category:Maintenance and will also hide the category from Special:UnusedCategories.

Parameters

  • first unnamed parameter - the name of the template that adds pages to this category. If multiple or none, you can leave this blank and the link will not be shown.
  • links - if more than one template adds the category, you can use this parameter to list them manually.
  • hidden - define this parameter to mark the category as hidden.
  • system - define this parameter if the category is added automatically by MediaWiki.
  • cat - supplying a category name here will replace the default category that the template adds, intended to be used for subcategories. Do not include the "Category:" prefix. This cannot be empty.

The above documentation is transcluded from Template:Maintenance category/doc.