Difference between revisions of "Template:Maintenance category/doc"

(Creation (as this is needed))
 
m (updating)
Line 2: Line 2:
 
<!-- Add categories where indicated at the bottom of this page and other interwikis at Wikidata -->
 
<!-- Add categories where indicated at the bottom of this page and other interwikis at Wikidata -->
  
{{Template redirect|Wikipedia category}}
+
{{Template redirect|BattleTechWiki category}}
 
__TOC__
 
__TOC__
  
 
== Usage ==
 
== Usage ==
This template should be placed at the top of categories used in the [[Battletechwiki:Project Maintenance|maintenance of Wikipedia]], rather than as part of the wiki&nbsp;— for example, at the top of [[:Category:Battletechwiki administration]].
+
This template should be placed at the top of categories used in the [[Battletechwiki:Project Maintenance|maintenance of Wikipedia]], rather than as part of the wiki&nbsp;— for example, at the top of [[:Category:BattleTechWiki_administration]].
  
 
===Parameters===
 
===Parameters===

Revision as of 14:11, 10 December 2023

Usage

This template should be placed at the top of categories used in the maintenance of Wikipedia, rather than as part of the wiki — for example, at the top of Category:BattleTechWiki_administration.

Parameters

The following descriptions assume the template is transcluded on a page in the Category namespace.

|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 |container_category=no.
|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 |tracking_category=no.
|purpose= To add a short explanation of the tracking category after the message, use |purpose=Short explanation. The |tracking= parameter must be set to true or yes to display.
|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 |alt=Something else.
|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 |tracking=false/no or |tracking=true/yes, in addition, will give slightly different messages in the box.
|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 |empty_text=Short explanation.
|shortcut1= Enables a shortcut to the category to be displayed by the template.
Multiple shortcuts are supported: from |shortcut1=, up to |shortcut5=.


Examples

Code
{{Maintenance category
|shortcut=BTW:CN
|hidden=true
|tracking=false
|purpose=This category tracks pages tagged with {{tl|Citation needed}}.<!-- This text will not display since "tracking" is set to "false"-->
|desc=Category for articles (and other pages, such as portals and mainspace-intended templates) tagged as needing or more citations for verification, using the {{tlx|Citation needed}} template. Does not include discussion pages tagged with {{tlx|Talkfact}}.
}}



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.

See also

Other category-header templates