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

m (updating)
m (Fixing)
 
Line 6: Line 6:
  
 
== 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 — 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 BTW]], rather than as part of the wiki — for example, at the top of [[:Category:BattleTechWiki_administration]].
  
 
===Parameters===
 
===Parameters===
Line 36: Line 36:
 
  | Enables a [[H:Shortcut|shortcut]] to the category to be displayed by the template.<br />Multiple shortcuts are supported: from {{para|shortcut1}}, up to {{para|shortcut5}}.
 
  | Enables a [[H:Shortcut|shortcut]] to the category to be displayed by the template.<br />Multiple shortcuts are supported: from {{para|shortcut1}}, up to {{para|shortcut5}}.
 
}}
 
}}
 
  
 
== Examples ==
 
== Examples ==

Latest revision as of 14:12, 10 December 2023

Usage[edit]

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

Parameters[edit]

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[edit]

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[edit]

Other category-header templates[edit]