Template:Monthly clean-up category: Difference between revisions
add link to parent category that is previously hidden |
Removed new lines in output, changed to using keyword __HIDDENCAT__, rearranged elements, and showed some parameters on the template page |
||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
__HIDDENCAT__ |
|||
⚫ | |||
⚫ | |||
==The template== |
|||
⚫ | |||
⚫ | |||
| 01 = January {{{year|}}} |
| 01 = January {{{year|}}} |
||
| 02 = February {{{year|}}} |
| 02 = February {{{year|}}} |
||
Line 19: | Line 16: | ||
| 12 = December {{{year|}}} |
| 12 = December {{{year|}}} |
||
| the given month |
| the given month |
||
}}<!--switch-->}}<!--if--> to enable us to work through the backlog more systematically. It is a member of [[:Category:{{{cat|}}}]]. |
}}<!--switch-->}}<!--if--> to enable us to work through the backlog more systematically. It is a member of [[:Category:{{{cat|}}}]]. |
||
⚫ | |||
{{{message|}}} |
|||
⚫ | |||
{{#switch:{{{toc}}}|focus={{Focusmessage}}|none={{ns:0}}|toc={{CategoryTOC}}|{{CategoryTOC}}}} |
{{#switch:{{{toc}}}|focus={{Focusmessage}}|none={{ns:0}}|toc={{CategoryTOC}}|{{CategoryTOC}}}} |
||
⚫ | |||
{{Documentation}} |
|||
⚫ | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> |
|||
⚫ | |||
⚫ |
Revision as of 00:34, 25 February 2008
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories. |
This category combines all {{{type}}} from the given month to enable us to work through the backlog more systematically. It is a member of [[:Category:{{{cat}}}]].
{{{message}}}
![]() | This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
The simplest usage is just {{Monthly clean-up category}} In this case a default message page for that group of categories will need to exist. See Template:Monthly clean-up category/Messages for a list of existing message pages and to understand the naming convention.
Also the category will need to follow the naming convention "Blah blah from July 2024". (See #Limitations for more information.)
If a red-linked counter category is shown, simply populate it with {{Counter category}}.
Parameter toc
- toc = focus - gives a focus letter
- toc = toc - give a category style table of contents
- toc = none -
- hidden = n - The category will not be hidden.
Examples
Focus
{{Monthly clean-up category
| type = silly articles
| message = silly articles should be deleted
| toc = focus
| cat = test stubs
}}
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories. |
This category combines all silly articles from July 2024 to enable us to work through the backlog more systematically. It is a member of Category:test stubs.
silly articles should be deleted So that articles don't remain in this category too long, a suggestion is made to work on articles beginning with a certain letter. The letter is changed daily.
The current focus is on articles beginning with: B.
Toc
{{Monthly clean-up category
| type = silly articles
| message = silly articles should be made sensible
| toc = toc
| cat = test stubs
}}
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories. |
This category combines all silly articles from July 2024 to enable us to work through the backlog more systematically. It is a member of Category:test stubs.
silly articles should be made sensible
No TOC
{{Monthly clean-up category
| type = silly articles
| message = silly articles should be rewritten
| toc = none
| cat = test stubs
}}
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories. |
This category combines all silly articles from July 2024 to enable us to work through the backlog more systematically. It is a member of Category:test stubs.
silly articles should be rewritten
Another example
{{Monthly clean-up category
| type = silly articles
| message = silly articles should be revised
| cat = test stubs
| hidden = n
}}
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories. |
This category combines all silly articles from July 2024 to enable us to work through the backlog more systematically. It is a member of Category:test stubs.
silly articles should be revised
Nearly empty copy
{{Monthly clean-up category
| type =
| toc = toc
| cat =
| hidden = y
| message =
}}
Limitations
If the category name does not follow the convention "Blah blah from July 2024", the template will need to have "year" "month name" and "monthno" supplied.
Example
...
| monthno = {{CURRENTMONTH}}
| month name = {{CURRENTMONTHNAME}}
| year = {{CURRENTYEAR}}
...