Template:Maintenance category/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
==Parameters==
==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.
*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 [[mw:Hidden category|hidden]].
*'''hidden''' - define this parameter to mark the category as [[mw:Hidden category|hidden]].
*'''system''' - define this parameter if the category is added automatically by MediaWiki.


<includeonly>[[Category:Notice templates]]</includeonly>
<includeonly>[[Category:Notice templates]]</includeonly>

Revision as of 08:22, 9 July 2021

This page contains the documentation for Template:Maintenance category. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

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.