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: | ||
< | 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 == | ||
| | <!-- Abstract usage of the template --> | ||
| | |||
| | :{{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|small=yes}} formats the todo list small | |||
| | :{{tlx|todo|nocats=yes}} don't include categories | ||
| | :{{tlx|todo|nopreload=yes}} don't include preloaded text | ||
:{{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 | ||
| | |||
| | 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]]). | ||
| | |||
}} | == Example == | ||
<!-- for the documentation don't subst the result --> | |||
{{tlx|todo}} | |||
{{todo}} | |||
{{tlx|todo|9}} | |||
{{todo|9}} | |||
{{tlx|todo|small=yes}} | |||
{{todo|small=yes}} | |||
<br clear=both> | |||
{{tlx|todo|small=yes|9}} | |||
{{todo|small=yes|9}} | |||
<br clear=both> | |||
{{tlx|todo|list=./to do2}} | |||
{{todo|list=./to do2}} | |||
{{tlx|todo|target =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
Priority {{{1}}} Priority {{{1}}}