Difference between revisions of "Template:ToDo/doc"

From Hitchwiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
This template adds a todo list to a '''talk page'''.
+
#REDIRECT [[Template:ToDo]]
 
 
If you want to add a todo list to an article, e.g. [[Poland]], then create a todo list at [[Talk:Poland]], and then add <code><nowiki>{{toDo|target=Talk:Poland}}</nowiki></code> to the main article. But anyway, todo lists should normally be used only on talk pages, to get an overview of tasks for people who want to work on it.
 
 
 
If you put this template on <nowiki>[[Talk:Article]]</nowiki>, then type in the to-do items on the page <nowiki>[[Talk:Article/to do]]</nowiki>, 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 ==
 
<!-- Abstract usage of the template -->
 
 
 
:<code><nowiki>{{toDo}}</nowiki></code> gives a normal todo list
 
:<code><nowiki>{{toDo|N}}</nowiki></code> where <tt>N</tt> is a number from 1 to 9 to define its priority
 
:<code><nowiki>{{toDo|small&#61;yes}}</nowiki></code> formats the todo list small
 
:<code><nowiki>{{toDo|nocats&#61;yes}}</nowiki></code> don't include categories
 
:<code><nowiki>{{toDo|nopreload&#61;yes}}</nowiki></code> don't include preloaded text
 
:<code><nowiki>{{toDo|list&#61;./TODO}}</nowiki></code> use the subpage ''./TODO'' as todo list instead of subpage ''./to do''
 
:<code><nowiki>{{toDo|target&#61;Foo}}</nowiki></code> use the todo list of page ''Foo'' instead
 
 
 
Use the <code>target</code> parameter for accessing another article's to-do list.
 
 
 
== Example ==
 
<!-- for the documentation don't subst the result -->
 
 
 
<code><nowiki>{{toDo}}</nowiki></code>
 
{{toDo}}
 
 
 
<code><nowiki>{{toDo|N}}</nowiki></code>
 
{{toDo|9}}
 
 
 
<code><nowiki>{{toDo|small&#61;yes}}</nowiki></code>
 
{{toDo|small=yes}}
 
 
 
<br clear=both>
 
 
 
<code><nowiki>{{toDo|small&#61;yes|9}}</nowiki></code>
 
{{toDo|small=yes|9}}
 
<br clear=both>
 
 
 
<code><nowiki>{{toDo|list&#61;./to do2}}</nowiki></code>
 
{{toDo|list=./to do2}}
 
 
 
<code><nowiki>{{toDo|target&#61;Talk:Britney Spears|1}}</nowiki></code>
 
{{toDo|target=Talk:Britney Spears|1}}
 
 
 
<noinclude>[[Category:Templates]]
 
{{wikipedia}}</noinclude>
 

Latest revision as of 02:37, 5 October 2017

Redirect to: