Template:Todocat: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>__HIDDENCAT__ {{#sub:{{ROOTPAGENAME}}|5}}</includeonly><noinclude> Category:Todo Category:Templates</noinclude>" |
m Testing another fix |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>__HIDDENCAT__ | <includeonly>__HIDDENCAT__ | ||
{{Mbox | |||
| type=notice | |||
| text='''This is a maintenance category.''' | |||
Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time. | |||
}} | |||
[[Category:Todo|{{#ifeq: {{#sub: {{ROOTPAGENAME}}|0|5}} | {{ROOTPAGENAME: Todo:}} | {{#sub: {{ROOTPAGENAME}}|5}} | {{ROOTPAGENAME}}}}]]</includeonly><noinclude> | |||
{{documentation}} | |||
[[Category:Todo]] | [[Category:Todo]] | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]] | ||
</noinclude> | |||
Latest revision as of 01:43, 12 July 2026
The todocat template is designed to be used on maintenance (aka "todo") category pages. It marks the category as hidden, adds a notice for administrators, and attributes the correct sort key for alphabetical listing in Category:Todo.
Usage
Place at the top of a maintenance category (subcategories of Category:Todo). If the title follows the standard format "todo:something", then the sort key will be the page title without the "todo:" prefix; otherwise, the sort key will be the page title.