Changes

Jump to navigation Jump to search
no edit summary
{{Documentation subpage}}
{{High-risk| ≈ 29615 }}
{{nosubst}}

== Usage ==

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 [[Wikipedia:Transclusion|transcluded]] on a page in the [[Wikipedia:Category namespace|Category namespace]].

{{Aligned table
|col1style=line-height:1.4em;padding-right:1.5em;padding-bottom:0.5em;
|col2style=line-height:1.4em;padding-bottom:0.5em;

| {{para|shortcut}}
| Enables a [[WP:Shortcut|shortcut]] to the category to be displayed by the template.<br />Multiple shortcuts are supported: {{para|shortcut1}} up to {{para|shortcut5}}.

| {{para|hidden|true/yes/on}}
| Causes the template to hide the page (the category), add it to [[:Category:Hidden categories]] and to include a {{tlx|Hidden category}}-style message.

| {{para|tracking|true/yes/on}}
| Causes the template to add the page (the category) to [[:Category:Tracking categories]] and include a {{tlx|Tracking category}}-style message.{{smallsup|1}}<br />To add a short explanation of the tracking category after the message, use {{para|purpose|<var>Short explanation.</var>}}

| {{para|container|false/off}}
| Causes the template to add the page (the category) to [[:Category:Container categories]] and include a {{tlx|Container category}}-style message.{{smallsup|2}}

| {{para|desc}} or {{para|1}} or {{!}} (first [[Help:Template#Parameters|unnamed parameter]])
| Text supplied will be placed below the template with a boldfaced header of "Description:".<br />(The word "Description" can be replaced by something else, with {{para|alt|Something else}}).
}}
{{ublist |style=font-size:95%;padding:0.5em;
| {{sup|1}} [[:Category:Contents]] categorisation and [[:Category:Tracking categories]] self-categorisation is prevented by setting {{para|tracking_category|true/on}}.
| {{sup|2}} [[:Category:Container categories]] self-categorisation is prevented by setting {{para|container_category|true/on}}.
}}

== Example ==

{{center|{{big|'''Code'''}}}}
<pre style="position:relative;bottom:9px;">
{{Maintenance category
|shortcut=CAT:WCAT
|hidden=false
|tracking=false
|purpose=This category tracks pages tagged with {{tl|Citation needed}}.
|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}}.
}}
</pre>
{{Maintenance category
|shortcut=CAT:WCAT
|hidden=false
|tracking=false
|purpose=This category tracks pages tagged with {{tl|Citation needed}}.
|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}}.
|tracking_category=no|container_category=no
}}

== See also ==

{{Other category-header templates}}

<includeonly>{{Sandbox other||
<!----ADD CATEGORIES BELOW THIS LINE, PLEASE:---->
[[Category:Category namespace templates]]
[[Category:Tracking templates]]
}}</includeonly>
Anonymous user

Navigation menu