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

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
(document new parameters, add examples)
imported>Ahecht
(fix example)
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
 
}}
 
}}

Revision as of 22:47, 14 April 2020

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