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

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
(document new parameters, add examples)
imported>DB1729
(Reverted 1 edit by 96.237.137.143 (talk): Unexplained blanking)
 
(11 intermediate revisions by 10 users not shown)
Line 28: Line 28:
  
 
  | {{para|empty|false/off}}
 
  | {{para|empty|false/off}}
  | Include a {{tlx|Possibly empty category}}-style message.<br />To add a short explanation of the empty category after the message, use {{para|empty_text|<var>Short explanation.</var}}
+
  | Include a {{tlx|Possibly empty category}}-style message.<br />To add a short explanation of the empty category after the message, use {{para|empty_text|<var>Short explanation.</var>}}
  
 
  | {{para|polluted|false/off}}
 
  | {{para|polluted|false/off}}
Line 78: Line 78:
 
<pre style="position:relative;bottom:9px;">
 
<pre style="position:relative;bottom:9px;">
 
{{Maintenance category
 
{{Maintenance category
|tracking=true
 
 
|empty=true
 
|empty=true
|purpose=This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}.  
+
|empty_text =This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}. This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
|empty_text = This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
 
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Maintenance category
 
{{Maintenance category
|tracking=true
 
 
|empty=true
 
|empty=true
|purpose=This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}.  
+
|empty_text =This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}. This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
|empty_text = This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
 
 
|tracking_category=no|container_category=no
 
|tracking_category=no|container_category=no
 
}}
 
}}

Latest revision as of 13:20, 4 March 2021

Usage

Template:Template redirect

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

Parameters

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

Script error: No such module "aligned table". Template:Ublist

Example

Code
{{Maintenance category
|shortcut=CAT:WCAT
|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. Does not include discussion pages tagged with {{Talkfact}}.
Code
{{Maintenance category
|tracking=true
|purpose=This category tracks pages that use {{tlx|albumchart|Billboard200}}.
}}
Code
{{Maintenance category
|empty=true
|empty_text =This category is tracking [[academic journal]]s by the {{para|frequency}} parameter of their {{tl|Infobox journal}}.  This category should ideally be empty, but will be populated when non-standard {{para|frequency}} parameters are used.
}}

See also

Other category-header templates