Template:Todo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Arseniiv (talk | contribs)
m adjustments to the docs
ArrowHead294 (talk | contribs)
recat
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div class="todo_plaque" style="color: darkslategray; font-style: italic; border: 2px solid lightblue; padding: 6px; text-align: center;">This place was marked as in need of “{{trim| {{{1}}} }}”.</div> [[Category:Todo:{{trim| {{{1}}} }}]]</includeonly><noinclude>
<includeonly>{{#if: {{{inline|}}}|{{Mbox|type=notice|icon=Icon-Todo.png|text=
This template applies [[:Category:Todo|one of <code>Todo:</code> categories]] to the page, as well as places a notice so you can mark the specific place in need of attention.
'''Todo:''' {{#if: {{{1|}}}|{{{1}}} [[Category:Todo:{{trim|{{{1}}}}}]]|[[Category:Todo]]}}{{#if: {{{2|}}}
|, {{{2}}}[[Category:Todo:{{trim| {{{2}}} }}]]}}{{#if: {{{3|}}}
|, {{{3}}}[[Category:Todo:{{trim| {{{3}}} }}]]}}{{#if: {{{4|}}}
|, {{{4}}}[[Category:Todo:{{trim| {{{4}}} }}]]}}{{#if: {{{5|}}}
|, {{{5}}}[[Category:Todo:{{trim| {{{5}}} }}]]}}{{#if: {{{6|}}}
|, {{{6}}}[[Category:Todo:{{trim| {{{6}}} }}]]}}{{#if: {{{7|}}}
|, {{{7}}}[[Category:Todo:{{trim| {{{7}}} }}]]}}{{#if: {{{8|}}}
|, {{{8}}}[[Category:Todo:{{trim| {{{8}}} }}]]}}{{#if: {{{comment|{{{description|{{{text|}}}}}}}}}
|<br />
{{{comment|{{{description|{{{text|}}}}}}}}}}}


== Usage ==
}}|{{#if: {{{1|}}}|[[Category:Todo:{{trim|{{{1}}}}}]]}}{{#if: {{{2|}}}|[[Category:Todo:{{trim|{{{2}}}}}]]}}{{#if: {{{3|}}}|[[Category:Todo:{{trim|{{{3}}}}}]]}}{{#if: {{{4|}}}|[[Category:Todo:{{trim|{{{4}}}}}]]}}{{#if: {{{5|}}}|[[Category:Todo:{{trim|{{{5}}}}}]]}}{{#if: {{{6|}}}|[[Category:Todo:{{trim|{{{6}}}}}]]}}{{#if: {{{7|}}}|[[Category:Todo:{{trim|{{{7}}}}}]]}}{{#if: {{{8|}}}|[[Category:Todo:{{trim|{{{8}}}}}]]}}}}</includeonly><noinclude>
{{documentation}}


<!-- Don’t forget to change the name in the example if migrated to the templates namespace -->
[[Category:Message boxes]]
 
Just write something like <code><nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>| delete }}</nowiki></code> and get this:
 
{{ {{FULLPAGENAME}} | delete }}
 
Looks maybe too intrusive.
 
<!-- [[Category:Templates]] -->
</noinclude>
</noinclude>

Latest revision as of 19:45, 7 May 2025

Template documentation[view] [edit] [history] [purge]
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