Template:Todo: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
m (Text replacement - "wikipedia:To-do list" to "wikipedia:Wikipedia:To-do list") |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="messagebox {{#ifeq: {{{small}}} | yes |small|standard}}-talk" | <noinclude>{{Todo/doc}}</noinclude><includeonly>{| class="messagebox {{#ifeq: {{{small}}} | yes |small|standard}}-talk" | ||
|- | |- | ||
! style="text-align: left; font-size: {{#ifeq: {{{small}}} | yes |small|large}}" | [[ | ! style="text-align: left; font-size: {{#ifeq: {{{small}}} | yes |small|large}}" | [[File: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|| for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}} }}: | --> [[wikipedia:Wikipedia:To-do list|To-do list]]{{#ifeq: {{{small}}} | yes|| 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] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} refresh] | | 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] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} refresh] | ||
|- | |- | ||
Line 9: | Line 9: | ||
|- | |- | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
{{!}} colspan="2" style="text-align:right; font-size: {{#ifeq: {{{small}}} | yes |x}}x-small" {{!}} ''' | {{!}} 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| | ||
<!-- nothing -->|{{DEFAULTSORT:{{PAGENAME}}}} | <!-- nothing -->|{{DEFAULTSORT:{{PAGENAME}}}} | ||
[[Category:To do]] | [[Category:To do]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
<!-- Please add interwikis to the /doc subpage, not here. --> | <!-- Please add interwikis to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |
Latest revision as of 15: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>}}