Jump to content

Template:To do/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Directions for use: Do not include template when it's not being used.
m Update
Line 8: Line 8:
<!-- Abstract usage of the template -->
<!-- Abstract usage of the template -->


:{{tlx|todo}} gives a normal todo list
* {{tlx|todo}} gives a normal todo list
:{{tlx|todo|N}} where <tt>N</tt> is a number from 1 to 9 to define its priority
* {{tlx|todo|<var>N</var>}} where <var>N</var> is a number from 1 to 9 to define its priority (1 is the highest)
:{{tlx|todo|small&#61;yes}} formats the todo list small
* {{tlx|todo|small&#61;yes}} formats the todo list small
:{{tlx|todo|nocats&#61;yes}} don't include categories
* {{tlx|todo|nocats&#61;yes}} don't include categories
:{{tlx|todo|nopreload&#61;yes}} don't include preloaded text
* {{tlx|todo|nopreload&#61;yes}} don't include preloaded text
:{{tlx|todo|list&#61;./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do''
* {{tlx|todo|list&#61;./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do''
:{{tlx|todo|target&#61;Foo}} use the todo list of page ''Foo'' instead
* {{tlx|todo|target&#61;Foo}} use the todo list of page ''Foo'' instead
* {{tlx|todo|collapsed&#61;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 <code>target</code> parameter for accessing another article's to-do list, e.g. from a [[Wikipedia:WikiProject|WikiProject]] page (can be seen in action at [[WP:TBA]]).
Use the <code>target</code> parameter for accessing another article's to-do list, e.g. from a [[Wikipedia:WikiProject|WikiProject]] page (can be seen in action at [[WP:TBA]]).
Line 35: Line 37:
{{todo|small=yes|9}}
{{todo|small=yes|9}}
<br clear=both>
<br clear=both>

{{tlx|todo|collapsed&#61;yes|9}}
{{todo|collapsed=yes|9}}


{{tlx|todo|list&#61;./to do2}}
{{tlx|todo|list&#61;./to do2}}

Revision as of 19:31, 12 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|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}}

{{todo|9}}

{{todo|small=yes}}


{{todo|small=yes|9}}


{{todo|collapsed=yes|9}}

{{todo|list=./to do2}}

{{todo|target =Talk:Britney Spears|1}}