Template:Todo/doc: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
(blgh) |
||
Line 4: | Line 4: | ||
<!-- Abstract usage of the template --> | <!-- Abstract usage of the template --> | ||
:{{ | :{{t|todo}} gives a normal todo list | ||
:{{ | :{{t|todo|N}} where <tt>N</tt> is a number from 1 to 9 to define its priority | ||
:{{ | :{{t|todo|small=yes}} formats the todo list small | ||
:{{ | :{{t|todo|nocats=yes}} don't include categories | ||
:{{ | :{{t|todo|nopreload=yes}} don't include preloaded text | ||
:{{ | :{{t|todo|list=./TODO}} use the subpage ''./TODO'' as todo list instead of subpage ''./to do'' | ||
:{{ | :{{t|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]]). | 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 17: | Line 17: | ||
<!-- for the documentation don't subst the result --> | <!-- for the documentation don't subst the result --> | ||
{{ | {{t|todo}} | ||
{{todo}} | {{todo}} | ||
{{ | {{t|todo|9}} | ||
{{todo|9}} | {{todo|9}} | ||
{{ | {{t|todo|small=yes}} | ||
{{todo|small=yes}} | {{todo|small=yes}} | ||
<br clear=both> | <br clear=both> | ||
{{ | {{t|todo|small=yes|9}} | ||
{{todo|small=yes|9}} | {{todo|small=yes|9}} | ||
<br clear=both> | <br clear=both> | ||
{{ | {{t|todo|list=./to do2}} | ||
{{todo|list=./to do2}} | {{todo|list=./to do2}} | ||
{{ | {{t|todo|target =Talk:Sonic|1}} | ||
{{todo|target=Talk:Sonic|1}} | {{todo|target=Talk:Sonic|1}} | ||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 20:27, August 12, 2008
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 (can be seen in action at WP:TBA).
Example
{{todo}}
Priority {{{1}}}{{todo|<9>}}
{{todo|<small=yes>}}
Priority {{{1}}}
{{todo|<small=yes>|<9>}}
{{todo|<list=./to do2>}}
Priority {{{1}}}{{todo|<target =Talk:Sonic>|<1>}}