Template:Maintenance category: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(always add Category:Maintenance)
 
(5 intermediate revisions by the same user not shown)
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.
|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:{{{system|}}}|This category is added automatically by the wiki software.{{#if:{{{links|}}}{{{1|}}}|&#32;}}}}{{#if:{{{links|}}}|Populated by: {{{links}}}|{{#if:{{{1|<noinclude>x</noinclude>}}}|Populated by: [[Template:{{{1}}}]]}}}}
|noedit=x
|noedit=x
}}<includeonly>[[Category:Maintenance]]</includeonly><noinclude>{{documentation}}</noinclude>
}}<includeonly>{{#if:{{{cat|}}}|[[Category:{{{cat}}}]]|{{#if:{{{system|}}}|[[Category:System categories]]|[[Category:Maintenance]]}}}}__EXPECTUNUSEDCATEGORY__</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 17:11, 11 August 2024

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.