Template:Todo/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Some update
BudjarnLambeth (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Dochead}}
{{Dochead}}{{substitute|no}}
This template applies up to eight [[:Category:Todo|<code>Todo:</code> categories]] to the page, or the main [[:Category: Todo]] itself. When <code>inline</code> 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.
This template applies up to eight [[:Category:Todo|<code>Todo:</code> categories]] to the page, or the main [[:Category: Todo]] itself. When <code>inline</code> 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.


Line 5: Line 5:
Just write something like <code><nowiki>{{Todo|inline=1| expand }}</nowiki></code> and get this:
Just write something like <code><nowiki>{{Todo|inline=1| expand }}</nowiki></code> and get this:


{{{{ROOTPAGENAME}}|inline=1| expand }}
{{{{ROOTPAGENAMEE}}|inline=1| expand }}


You can specify up to eight notes as unnamed arguments. <code><nowiki>{{Todo|inline=1| add color name | expand | unify precision }}</nowiki></code> gives:
You can specify up to eight notes as unnamed arguments. <code><nowiki>{{Todo|inline=1| add color name | expand | unify precision }}</nowiki></code> gives:


{{{{ROOTPAGENAME}}|inline=1| add color name | expand | unify precision }}
{{{{ROOTPAGENAMEE}}|inline=1| add color name | expand | unify precision }}


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: <code><nowiki>{{Todo}}</nowiki></code>.  
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: <code><nowiki>{{Todo}}</nowiki></code>.  
Line 17: Line 17:
:<code><nowiki>{{Todo|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}</nowiki></code>
:<code><nowiki>{{Todo|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}</nowiki></code>


{{{{ROOTPAGENAME}}|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}
{{{{ROOTPAGENAMEE}}|inline=1| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}
 
=== See also ===
* [[Template:Expert needed]]

Latest revision as of 23:40, 10 August 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:

Todo: expand

You can specify up to eight notes as unnamed arguments. {{Todo|inline=1| add color name | expand | unify precision }} gives:

Todo: add color name , expand , unify precision

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 5 gives a deceptive impression of higher accuracy.

See also