Difference between revisions of "Template:Maintenance category"

From blackwiki
Jump to navigation Jump to search
test>Jonesey95
(Fix Linter errors. Tested in sandbox. Please test in sandbox for such a widely used template.)
test>Jonesey95
(Close one more div tag)
Line 9: Line 9:
 
* These categories are used to track, build and organize lists of pages needing "attention ''en masse''" (for example, pages using deprecated syntax), or that may need to be edited at someone's earliest convenience.
 
* These categories are used to track, build and organize lists of pages needing "attention ''en masse''" (for example, pages using deprecated syntax), or that may need to be edited at someone's earliest convenience.
 
* These categories also serve to aggregate members of several lists or sub-categories into a larger, more efficient list (''discriminated by classifications'').</div>{{#ifeq:{{{tracking_category|}}}|no||{{Category other|{{{category|[[Category:Tracking categories]]}}}}}}}|{{#if:{{Yesno|{{{hidden|}}}}}|</div>__HIDDENCAT__
 
* These categories also serve to aggregate members of several lists or sub-categories into a larger, more efficient list (''discriminated by classifications'').</div>{{#ifeq:{{{tracking_category|}}}|no||{{Category other|{{{category|[[Category:Tracking categories]]}}}}}}}|{{#if:{{Yesno|{{{hidden|}}}}}|</div>__HIDDENCAT__
−
<div>This is a '''[[:Category:Hidden categories|hidden category]]'''. It is not shown on its member pages, unless the corresponding [[Special:Preferences|user preference]] (appearance → show hidden categories) is set.}}}}{{#if:{{Yesno|{{{empty|}}}}}|</div>{{Possibly empty category|hide=true}}
+
<div>This is a '''[[:Category:Hidden categories|hidden category]]'''. It is not shown on its member pages, unless the corresponding [[Special:Preferences|user preference]] (appearance → show hidden categories) is set.</div>}}}}{{#if:{{Yesno|{{{empty|}}}}}|</div>{{Possibly empty category|hide=true}}
 
<div><span style="font-size:15px;">'''Administrators: Please do not delete this category even if it is empty!'''</span> This category may be empty occasionally or even most of the time. {{{empty_text|}}}</div>}}{{#if:{{Yesno|{{{polluted|}}}}}|{{Polluted category}}}}
 
<div><span style="font-size:15px;">'''Administrators: Please do not delete this category even if it is empty!'''</span> This category may be empty occasionally or even most of the time. {{{empty_text|}}}</div>}}{{#if:{{Yesno|{{{polluted|}}}}}|{{Polluted category}}}}
 
|imageright={{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
 
|imageright={{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
 
}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}}|false|{{Single namespace|category}}{{#if:{{{desc|}}}{{{1|}}}|<br /><div style="text-align: left;">{{{alt|{{{ALTTEXT|'''Description''':}}}}}} {{{desc|{{{1|}}}}}}</div>}}|<!-- Category suppressed -->}}</includeonly><noinclude>{{Documentation}}<!-- Please add categories to the /doc sub-page, not here. --></noinclude>
 
}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}}|false|{{Single namespace|category}}{{#if:{{{desc|}}}{{{1|}}}|<br /><div style="text-align: left;">{{{alt|{{{ALTTEXT|'''Description''':}}}}}} {{{desc|{{{1|}}}}}}</div>}}|<!-- Category suppressed -->}}</includeonly><noinclude>{{Documentation}}<!-- Please add categories to the /doc sub-page, not here. --></noinclude>

Revision as of 05:36, 15 April 2020

50px Template documentation[view] [edit] [history] [purge]

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