Template:Todo/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "wikipedia:WikiProject" to "wikipedia:Wikipedia:WikiProject")
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
This template adds a todo list to a talk page.  It categorizes it to [[:Category:To do]], and [[:Category:To do, priority undefined]] unless ''priority'' is defined.  If ''priority'' is defined, it will be added in appropriate category instead. See [[:Category:To do, by priority]] for instructions on how to perform prioritization.
This template adds a todo list to a talk page.  It categorizes it to [[:Category:To do]].


== Usage ==
== Usage ==
<!-- Abstract usage of the template -->
<!-- Abstract usage of the template -->


:{{tlx|todo}} gives a normal todo list
:{{t|todo}} gives a normal todo list
:{{tlx|todo|N}} where <tt>N</tt> is a number from 1 to 9 to define its priority
:{{t|todo|N}} where <tt>N</tt> is a number from 1 to 9 to define its priority
:{{tlx|todo|small&#61;yes}} formats the todo list small
:{{t|todo|small&#61;yes}} formats the todo list small
:{{tlx|todo|nocats&#61;yes}} don't include categories
:{{t|todo|nocats&#61;yes}} don't include categories
:{{tlx|todo|nopreload&#61;yes}} don't include preloaded text
:{{t|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''
:{{t|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
:{{t|todo|target&#61;Foo}} use the todo list of page ''Foo'' instead


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:Wikipedia:WikiProject|WikiProject]] page.


== Example ==
== Example ==
<!-- for the documentation don't subst the result -->
<!-- for the documentation don't subst the result -->


{{tlx|todo}}
{{t|todo}}
{{todo}}
{{todo}}


{{tlx|todo|9}}
{{t|todo|9}}
{{todo|9}}
{{todo|9}}


{{tlx|todo|small&#61;yes}}
{{t|todo|small&#61;yes}}
{{todo|small=yes}}
{{todo|small=yes}}


<br clear=both>
<br clear=both>


{{tlx|todo|small&#61;yes|9}}
{{t|todo|small&#61;yes|9}}
{{todo|small=yes|9}}
{{todo|small=yes|9}}
<br clear=both>
<br clear=both>


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


{{tlx|todo|target &#61;Talk:Sonic|1}}
{{t|todo|target &#61;Talk:Sonic the Hedgehog|1}}
{{todo|target=Talk:Sonic|1}}
{{todo|target=Talk:Sonic the Hedgehog|1}}


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 14:21, October 22, 2021

This template adds a todo list to a talk page. It categorizes it to Category:To do.

Usage

{{todo}} gives a normal todo list
{{todo|<N>}} where N is a number from 1 to 9 to define its priority
{{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

Use the target parameter for accessing another article's to-do list, e.g. from a WikiProject page.

Example

{{todo}}

Priority {{{1}}}
Stock post message.svg To-do list for Template:Todo/doc:

{{todo|<9>}}

Stock post message.svg To-do list for Template:Todo/doc:

:Category:To do, by priority

{{todo|<small=yes>}}

Priority {{{1}}}
Stock post message.svg To-do list:


{{todo|<small=yes>|<9>}}

Stock post message.svg To-do list:

:Category:To do, by priority


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

Priority {{{1}}}
Stock post message.svg To-do list for Template:Todo/doc:

{{todo|<target =Talk:Sonic the Hedgehog>|<1>}}

Stock post message.svg To-do list for Talk:Sonic the Hedgehog:

:Category:To do, by priority