Template:To do/doc: Difference between revisions
nocats=yes |
inner option |
||
Line 15: | Line 15: | ||
* {{tlx|todo|list=./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do'' |
* {{tlx|todo|list=./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do'' |
||
* {{tlx|todo|target=Foo}} use the todo list of page ''Foo'' instead |
* {{tlx|todo|target=Foo}} use the todo list of page ''Foo'' instead |
||
* {{tlx|todo|inner=Blah Blah Blah}} use the contents of inner as the todo list |
|||
* {{tlx|todo|collapsed=true}}: collapses the list |
* {{tlx|todo|collapsed=true}}: collapses the list |
||
* Parameters for use as a meta-template: |image=, |above=, |below=, |inner=, |smallfor= (if the |for= parameter should be displayed when small) & |category= |
* Parameters for use as a meta-template: |image=, |above=, |below=, |inner=, |smallfor= (if the |for= parameter should be displayed when small) & |category= |
||
Line 46: | Line 47: | ||
{{tlx|todo|target=Talk:Britney Spears|1}} |
{{tlx|todo|target=Talk:Britney Spears|1}} |
||
{{todo|nocats=yes|target=Talk:Britney Spears|1}} |
{{todo|nocats=yes|target=Talk:Britney Spears|1}} |
||
{{tlx|todo|inner=<nowiki><div></nowiki><br><nowiki> |
|||
* To Prepare this article for FA status.</nowiki><br><nowiki> |
|||
* Addition of pictures and/or photographs to illustrate the relevant topics/sections. </nowiki><br><nowiki> |
|||
</div></nowiki>}} |
|||
{{todo|nocats=yes|inner=<div> |
|||
* To Prepare this article for FA status. |
|||
* Addition of pictures and/or photographs to illustrate the relevant topics/sections. |
|||
</div>}} |
|||
<includeonly> |
<includeonly> |
Revision as of 00:25, 27 December 2008
This template adds a todo list to a talk page.
If you put this template on [[Talk:Article]], then type in the to-do items on the page [[Talk:Article/to do]], and this template will automatically display them.
Please do not spam this template speculatively to talk pages. It should be added when editors are actually going to use it. Unused templates may be removed by any editor without warning.
Usage
{{todo}}
gives a normal todo list{{todo|N}}
where N is a number from 1 to 9 to define its priority (1 is the highest){{todo|small=yes}}
formats the todo list small{{todo|nocats=yes}}
don't include categories{{todo|nopreload=yes}}
don't include preloaded text{{todo|list=./TODO}}
use the subpage ./TODO as todo list instead of subpage ./to do{{todo|target=Foo}}
use the todo list of page Foo instead{{todo|inner=Blah Blah Blah}}
use the contents of inner as the todo list{{todo|collapsed=true}}
: collapses the list- Parameters for use as a meta-template: |image=, |above=, |below=, |inner=, |smallfor= (if the |for= parameter should be displayed when small) & |category=
Use the target
parameter for accessing another article's to-do list, e.g. from a WikiProject page (can be seen in action at WP:TBA).
Example
{{todo}}
To-do list for Template:To do/doc: To-do list is empty: remove {{To do}} tag or click on edit to add an item. |
{{todo|9}}
To-do list for Template:To do/doc: To-do list is empty: remove {{To do}} tag or click on edit to add an item. Priority 9
|
{{todo|small=yes}}
To-do list is empty: remove {{To do}} tag or click on edit to add an item. |
{{todo|small=yes|9}}
{{todo|collapsed=yes|9}}
To-do list for Template:To do/doc: To-do list is empty: remove {{To do}} tag or click on edit to add an item. Priority 9 |
{{todo|list=./to do2}}
To-do list for Template:To do/doc: To-do list is empty: remove {{To do}} tag or click on edit to add an item. |
{{todo|target=Talk:Britney Spears|1}}
To-do list for Talk:Britney Spears:
Priority 1 (top)
|
{{todo|inner=<div>
* To Prepare this article for FA status.
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.
</div>}}
To-do list for Template:To do/doc:
|