Template:Todo: Difference between revisions

Arseniiv (talk | contribs)
big overhaul; thanks for examples Xenwolf; let’s see now how it renders…
Arseniiv (talk | contribs)
m styling and doc
Line 1: Line 1:
<includeonly><div class="todo_plaque" style="background: aliceblue; color: darkslategray; font-style: italic; border: 1px solid lightblue; padding: 6px; text-align: center;">
<includeonly><div class="todo_plaque" style="background: aliceblue; color: darkslategray; font-style: italic; border: 1px solid lightblue; margin: 15px; padding: 4px; text-align: center;">


'''Todo:''' {{#if: {{{1|}}} |{{{1}}} [[Category:Todo:{{trim| {{{1}}} }}]]| something obvious[[Category:Todo]]}}{{#if: {{{2|}}}
'''Todo:''' {{#if: {{{1|}}} |{{{1}}} [[Category:Todo:{{trim| {{{1}}} }}]]| something obvious[[Category:Todo]]}}{{#if: {{{2|}}}
Line 27: Line 27:
{{ {{FULLPAGENAME}} | add color name | expand | unify precision }}
{{ {{FULLPAGENAME}} | add color name | expand | unify precision }}


You can add a comment, using an optional argument named (alternatively) <code>comment</code>, <code>description</code>, or <code>text</code>:
You can add a comment, using an optional argument named (alternatively) <code>comment</code>, <code>description</code>, or <code>text</code>. You may want to end it with a full stop, it’s not added automatically for this one.


<code><nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy }}</nowiki></code>
<code><nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>| unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy. }}</nowiki></code>


{{ {{FULLPAGENAME}} | unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy }}
{{ {{FULLPAGENAME}} | unify precision | comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy }}
Line 36: Line 36:


{{ {{FULLPAGENAME}} }}
{{ {{FULLPAGENAME}} }}


<!-- [[Category:Templates]] -->
<!-- [[Category:Templates]] -->
</noinclude>
</noinclude>