Template:Todo/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: <pre><nowiki>{{Todo |Requests = |Copyedit = |Wikify: = |Merge: = |Split: = |Verify: = |Cleanup: = |Expand: = |Disambiguation ...)
 
No edit summary
Line 1: Line 1:
<pre><nowiki>{{Todo
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.
|Requests        =
 
|Copyedit        =
== Usage ==
|Wikify:         =
<!-- Abstract usage of the template -->
|Merge:         =
 
|Split:          =
:{{tlx|todo}} gives a normal todo list
|Verify:        =
:{{tlx|todo|N}} where <tt>N</tt> is a number from 1 to 9 to define its priority
|Cleanup:        =
:{{tlx|todo|small&#61;yes}} formats the todo list small
|Expand:        =
:{{tlx|todo|nocats&#61;yes}} don't include categories
|Disambiguation  =
:{{tlx|todo|nopreload&#61;yes}} don't include preloaded text
|Stubs:          =
:{{tlx|todo|list&#61;./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do''
|Update:        =
:{{tlx|todo|target&#61;Foo}} use the todo list of page ''Foo'' instead
|NPOV:          =
 
|Infobox:       =
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]]).
|Other:         =
 
}}</nowiki></pre>
== Example ==
<!-- for the documentation don't subst the result -->
 
{{tlx|todo}}
{{todo}}
 
{{tlx|todo|9}}
{{todo|9}}
 
{{tlx|todo|small&#61;yes}}
{{todo|small=yes}}
 
<br clear=both>
 
{{tlx|todo|small&#61;yes|9}}
{{todo|small=yes|9}}
<br clear=both>
 
{{tlx|todo|list&#61;./to do2}}
{{todo|list=./to do2}}
 
{{tlx|todo|target &#61;Talk:Britney Spears|1}}
{{todo|target=Talk:Britney Spears|1}}

Revision as of 20:19, March 28, 2008

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.

Usage

Template:Tlx gives a normal todo list
Template:Tlx where N is a number from 1 to 9 to define its priority
Template:Tlx formats the todo list small
Template:Tlx don't include categories
Template:Tlx don't include preloaded text
Template:Tlx use the subpage ./TODO as todo list instead of subpage ./to do
Template:Tlx 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 (can be seen in action at WP:TBA).

Example

Template:Tlx

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

Template:Tlx

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

:Category:To do, by priority

Template:Tlx

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


Template:Tlx

Stock post message.svg To-do list:

:Category:To do, by priority


Template:Tlx

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

Template:Tlx

Stock post message.svg To-do list for Talk:Britney Spears:

:Category:To do, by priority