Template:Todocat: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
Remove "todo:" from sort key only if category actually starts with "todo:"
Line 6: Line 6:
Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time.
Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time.
}}
}}
[[Category:Todo|{{#sub: {{ROOTPAGENAME}}|5}}]]</includeonly><noinclude>
[[Category:Todo{{#ifeq: {{#sub: {{ROOTPAGENAME}}|1|5}} | todo: | \|{{#sub: {{ROOTPAGENAME}}|5}} | }}]]</includeonly><noinclude>
{{documentation}}
{{documentation}}



Revision as of 01:33, 12 July 2026

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

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.