Template:Maintenance category: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(added "system" parameter)
No edit summary
Line 3: Line 3:
|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}}}]]}}}}
|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>{{#if:{{{hidden|}}}||[[Category:Maintenance]]}}__EXPECTUNUSEDCATEGORY__</includeonly><noinclude>{{documentation}}</noinclude>
}}<includeonly>{{#if:{{{system|}}}|[[Category:System categories]]|{{#if:{{{hidden|}}}||[[Category:Maintenance]]}}}}__EXPECTUNUSEDCATEGORY__</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 08:14, 9 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.