Template:Todo/doc: Difference between revisions
m Arseniiv moved page User:Arseniiv/TodoTest/Doc to Template:Todo/Doc: ready |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This template applies up to | {{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. | |||
== Usage == | === Usage === | ||
Just write something like <code><nowiki>{{Todo|inline=1| expand }}</nowiki></code> and get this: | |||
{{{{ROOTPAGENAMEE}}|inline=1| expand }} | |||
{{Todo | You can specify up to eight notes as unnamed arguments. <code><nowiki>{{Todo|inline=1| add color name | expand | unify precision }}</nowiki></code> gives: | ||
{{{{ROOTPAGENAMEE}}|inline=1| add color name | expand | unify precision }} | |||
{{Todo | 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>. | ||
You can add a comment, using an optional argument | You can add a comment, which appears with <code>inline=1</code>, using an optional argument <code>comment</code>, <code>description</code>, or <code>text</code>. You may want to end it with a full stop, which is not added automatically for this one. | ||
<code><nowiki>{{Todo| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. | :<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> | ||
{{ | {{{{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]] | |||