Template:Todo: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (1 revision: pages)
m (redlink)
Line 9: Line 9:
|-
|-
{{#if: {{{1|}}} |
{{#if: {{{1|}}} |
{{!}} colspan="2" style="text-align:right; font-size: {{#ifeq: {{{small}}} | yes |x}}x-small" {{!}} '''[[:Category:To do, by priority|Priority {{{1}}}]] {{#ifeq: {{{1}}} | 1 |(top)}}'''
{{!}} colspan="2" style="text-align:right; font-size: {{#ifeq: {{{small}}} | yes |x}}x-small" {{!}} ''':Category:To do, by priority|Priority {{{1}}} {{#ifeq: {{{1}}} | 1 |(top)}}'''
}}
}}
|}<includeonly>{{#ifeq: {{{nocats}}} |yes|
|}<includeonly>{{#ifeq: {{{nocats}}} |yes|

Revision as of 21:26, March 23, 2012

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:

{{todo|<9>}}

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

: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:

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

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

:Category:To do, by priority