Template:Todo/doc: Difference between revisions
m since this template is demoing itself on its own docpage, it should turn off its own categories |
mNo edit summary |
||
| Line 19: | Line 19: | ||
{{Todo|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. | debug=1}} | {{Todo|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. | debug=1}} | ||
Note: placing this template on a template or module's documentation (/doc) | Note: placing this template on a template or module's documentation (/doc) results in the template or documentation page being categorized when that page is transcluded. The /doc subpage itself, however, is not categorized. This prevents a template or module from being categorized twice: Template:SomeTemplate is categorized, but not Template:SomeTemplate/doc. | ||
=== See also === | === See also === | ||
* [[Template:Expert needed]] | * [[Template:Expert needed]] | ||
Revision as of 00:18, 23 October 2025
| This template should not be substituted. |
This template applies up to eight Todo: categories to the page, or the main Category: Todo itself. When inline is present, it additionally places a visible notice in the page text. With or without that, you mark the specific place in need of attention.
Usage
Just write something like {{Todo|inline=1| expand }} and get this:
You can specify up to eight notes as unnamed arguments. {{Todo|inline=1| add color name | expand | unify precision }} gives:
Each unnamed argument adds the article to the same-name category. Make sure to check out Category: Todo for a catalogue of defined tasks. If you do not find a category the todo fits in, use this template without arguments: {{Todo}}.
You can add a comment, which appears with inline=1, using an optional argument comment, description, or text. You may want to end it with a full stop, which is not added automatically for this one.
{{Todo|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}
| Todo: unify precision
An occasionally appearing surplus decimal place |
Note: placing this template on a template or module's documentation (/doc) results in the template or documentation page being categorized when that page is transcluded. The /doc subpage itself, however, is not categorized. This prevents a template or module from being categorized twice: Template:SomeTemplate is categorized, but not Template:SomeTemplate/doc.