Template:Todocat: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Fredg999 (talk | contribs)
Add lead section
ArrowHead294 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__HIDDENCAT__
<includeonly>__HIDDENCAT__
{{Mbox
| type=notice
| text='''This is a maintenance category.'''


[[Category:Todo|{{#sub:{{ROOTPAGENAME}}|5}}]]</includeonly><noinclude>
Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time.
The '''todocat''' template automatically marks a "todo" category as hidden and attributes the correct sort key for [[:Category:Todo]].
}}
[[Category:Todo|{{#sub: {{ROOTPAGENAME}}|5}}]]</includeonly><noinclude>
{{documentation}}


{{doc}}
[[Category:Todo]]
[[Category:Todo]]
[[Category:Templates]]</noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 16:19, 31 January 2025

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

The todocat template is designed to be used on "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 "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).