Template:Todo: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div style="border: 1px solid rgb(170, 170, 136); margin: 0.5em; padding: 0.5em; background-color: rgb(238, 238, 238);" class="plainlinks">
<onlyinclude>{{mbox
[[File:Archives.png|50px]]'''Todo:''' {{{1}}}''</div>[[Category:Todo]]</includeonly><noinclude>==Usage==
|text      = '''{{{title|To do}}}:'''<br /><!-- useless comment here to fix unordered lists -->{{{reason|{{{1}}}}}}
{{todo|Add more todos}}
|iwidth    = 32
<pre><nowiki>{{todo|Add more todos}}</nowiki></pre>[[Category:Templates]]</noinclude>
|image    = Archives.png
|border   = #dddddd
|background= #f8f8f8
}}{{#ifeq: {{{1}}} | Everything | [[Category:Unhelpful todos]] | {{#ifeq: {{{1}}} | Everything! | [[Category:Unhelpful todos]] | {{#ifeq: {{{1}}} | Everything. | [[Category:Unhelpful todos]] |  }} }} }}<includeonly>{{#ifeq: {{{nocat|}}} | true | | {{namespace detect|main= [[Category:To do]] |file= [[Category:To do]] |proto= [[Category:To do]] |prerelease= [[Category:To do]] |development= [[Category:To do]] |notes= [[Category:To do]] |bugs= [[Category:To do]] |data= [[Category:To do]] |lua= [[Category:To do]] |other= }}}}</includeonly></onlyinclude>
 
== Usage ==
Put in a list of things to do and dump at the top of a section. The message should be specific and precise, not a generic "Everything".
 
Example: <nowiki>{{</nowiki>'''todo'''|Find out the developer's name. Upload the corresponding audio sample.<nowiki>}}</nowiki>.
 
Also, if you click Preview and notice your handsome message box just says "<nowiki>{{{1}}}</nowiki>" instead of the URL you posted, don't panic. This is because your URL contains an = sign. Just type, after the "todo|" part, "1=".
 
For instance: <nowiki>{{</nowiki>'''todo'''|1=Is [www.youtube.com/watch?v=XKfHJrLYTe0 this video] used or not?<nowiki>}}</nowiki>.
 
Finally, to use this template without categorizing the page it's in, use <nowiki>{{</nowiki>'''todo'''|nocat=true|this is a todo<nowiki>}}</nowiki>.
 
Category: [[:Category:To do]]
 
[[Category:Cleanup templates]]

Latest revision as of 00:47, 24 January 2024

Hmmm...
To do:
{{{1}}}

Usage

Put in a list of things to do and dump at the top of a section. The message should be specific and precise, not a generic "Everything".

Example: {{todo|Find out the developer's name. Upload the corresponding audio sample.}}.

Also, if you click Preview and notice your handsome message box just says "{{{1}}}" instead of the URL you posted, don't panic. This is because your URL contains an = sign. Just type, after the "todo|" part, "1=".

For instance: {{todo|1=Is [www.youtube.com/watch?v=XKfHJrLYTe0 this video] used or not?}}.

Finally, to use this template without categorizing the page it's in, use {{todo|nocat=true|this is a todo}}.

Category: Category:To do