Template:Wikipedia category/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Wikipedia category. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
![]() | This template is used on approximately 24,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
![]() | This template should not be substituted. |
Usage[edit]
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[edit]
The following descriptions assume the template is transcluded on a page in the Category namespace.
|shortcut=
| Enables a shortcut to the category to be displayed by the template. Multiple shortcuts are supported: |shortcut1= up to |shortcut5= .
|
|hidden=true/yes/on
| Causes the template to hide the page (the category), add it to Category:Hidden categories and to include a {{Hidden category}}-style message. |
|tracking=true/yes/on
| Causes the template to add the page (the category) to Category:Tracking categories and include a {{Tracking category}}-style message.Template:Smallsup To add a short explanation of the tracking category after the message, use |purpose=Short explanation.
|
|container=true/yes/on
| Causes the template to add the page (the category) to Category:Container categories and include a {{Container category}}-style message.Template:Smallsup |
|desc= or |1= or | (first unnamed parameter)
| Text supplied will be placed below the template with a boldfaced header of "Description:". (The word "Description" can be replaced by something else, with |alt=Something else ).
|
Example[edit]
{{Wikipedia category |shortcut=CAT:WCAT |hidden=true |tracking=true |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}}. }}
Template:CmboxTemplate:Single namespace
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}}.
See also[edit]
Template:Other category-header templates