Template:Todocat/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Update/improve usage, dochead, categories
Update according to new sort key implementation
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
== Usage ==
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]].
Place at the top of a "todo" category (subcategories of [[:Category:Todo]]) whose title follows the standard format "todo:''something''" (this standard format is important to make sure that the substring function that trims the first five characters works as intended).


[[Category:Template documentation]]
=== 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.

Latest revision as of 01:46, 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.