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]] | 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 --> | ||
:{{ | :{{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 | 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 --> | ||
{{ | {{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 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}}}{{todo|<9>}}
{{todo|<small=yes>}}
Priority {{{1}}}
{{todo|<small=yes>|<9>}}
{{todo|<list=./to do2>}}
Priority {{{1}}}{{todo|<target =Talk:Sonic the Hedgehog>|<1>}}