Template:Todo: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
! style="text-align: left; font-size: {{#ifeq: {{{small}}} | yes |small|large}}" | [[Image:Stock post message.svg|25px]]<!-- no reason to have special column just for pic, fits with text nicely
! style="text-align: left; font-size: {{#ifeq: {{{small}}} | yes |small|large}}" | [[Image:Stock post message.svg|25px]]<!-- no reason to have special column just for pic, fits with text nicely
--> [[Wikipedia:To-do list|To-do list]]{{#ifeq: {{{small}}} | yes||&#32;for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}} }}:
--> [[Wikipedia:To-do list|To-do list]]{{#ifeq: {{{small}}} | yes||&#32;for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}} }}:
| style="text-align: right; font-size: {{#ifeq:{{{small|}}}|yes|x-}}small" class="plainlinks" | [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=edit{{#ifeq: {{{nopreload}}} |yes ||&preload=Template:Tasks/Preload}}}} edit]'''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} history]'''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} watch]&nbsp;'''·'''&nbsp;[{{fullurl:{{#rel2abs:.}}|action=purge}} refresh]
| style="background:#5555ff; text-align: right; font-size: {{#ifeq:{{{small|}}}|yes|x-}}small" class="plainlinks" | [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=edit{{#ifeq: {{{nopreload}}} |yes ||&preload=Template:Tasks/Preload}}}} edit]'''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} history]'''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} watch]&nbsp;'''·'''&nbsp;[{{fullurl:{{#rel2abs:.}}|action=purge}} refresh]
|-
|-
| class="todo-box" colspan="2" style="background:#fffaef; padding:5px; margin: 5px; border: 1px dotted gray; {{#ifeq: {{{small}}} | yes |font-size: small}}" |
| class="todo-box" colspan="2" style="background:#fffaef; padding:5px; margin: 5px; border: 1px dotted gray; {{#ifeq: {{{small}}} | yes |font-size: small}}" |

Revision as of 19:25, March 30, 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.

Example

{{todo}}

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

{{todo|<9>}}

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

Priority 9

{{todo|<small=yes>}}

Stock post message.svg To-do list:


{{todo|<small=yes>|<9>}}

Stock post message.svg To-do list:

Priority 9


{{todo|<list=./to do2>}}

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:

Priority 1 (top)