Template:Todocat: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Fredg999 (talk | contribs)
m Add doc template
ArrowHead294 (talk | contribs)
mNo edit summary
 
(4 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|{{#sub: {{ROOTPAGENAME}}|5}}]]</includeonly><noinclude>
{{documentation}}


[[Category:Todo|{{#sub:{{ROOTPAGENAME}}|5}}]]</includeonly><noinclude>
{{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).