Template:Todocat: Difference between revisions

Remove "todo:" from sort key only if category actually starts with "todo:"
m Testing another fix
 
(4 intermediate revisions by the same user not shown)
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{{#ifeq: {{#sub: {{ROOTPAGENAME}}|1|5}} | todo: | \|{{#sub: {{ROOTPAGENAME}}|5}} | }}]]</includeonly><noinclude>
[[Category:Todo|{{#ifeq: {{#sub: {{ROOTPAGENAME}}|0|5}} | {{ROOTPAGENAME: Todo:}} | {{#sub: {{ROOTPAGENAME}}|5}} | {{ROOTPAGENAME}}}}]]</includeonly><noinclude>
{{documentation}}
{{documentation}}