Template:To do
Appearance
To-do list for Template:To do:
|
Not to be confused with [[{{{1}}}]].
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds a to do list to a talk page. If you place this template, for example, on Template:Fakelink, then type in the to do items on a Template:Fakelink page, then this template will automatically display them.
Note: Please do not spam this template speculatively to talk pages, as it should only be added when editors are actually going to use it. Unused templates may be removed by any editor without warning.
Usage
[edit]- {{to do}} – the normal, default to do list
- {{to do|collapsed=yes}} – collapses the list
- {{to do|for=[[Wikipedia:WikiProject Foo|WikiProject Foo]]}} – allows alternative page name reference (e.g. a project) instead of the default (which will be the non-talk pagename of the current page).
- {{to do|inner=Blah Blah Blah}} – uses the contents of 'inner' as the to do list
- {{to do|list=./TODO}} – uses the subpage
./TODO
as the to do list, instead of subpage./to do
- {{to do|maxheight=h}} – sets the maximum height
h
(number with suffixpx
,em
or%
; e.g. 200px) of the to do list before vertical scroll bars appear. Keep in mind that this doesn't work for all browsers (they must support the max-height and overflow CSS attributes working together). If no height is given, the to do list's height will depend on its contents. - {{to do|N}} – where
N
is a number from 1 to 9, defining its priority. (1 is the highest) - {{to do|nocats=yes}} – doesn't include page in Category:Wikipedia pages with to-do lists
- {{to do|nopreload=yes}} – clicking the edit link takes you to a blank page instead of a preloaded one
- {{to do|small=yes}} – formats the to do list as the 'small' version
- {{to do|target=Foo}} – uses the to do list of page
Foo
instead - {{to do|To-do=Alternative title}} – changes the "To-do" title of the displayed box to something else, e.g.: {{to do|To-do=Log of RfCs}}. This allows repurposing this template for other-than-"to-do" purposes.
- Can also be given as
|to-do=
without capital T. - 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:TBT)
- Can also be given as
- {{to do|lmd=no}} – do not output the last modified date - the date that the To do list was updated
Parameters
[edit]General parameters:
{{To do |collapsed= |for= |inner= |list= |maxheight= |nocats= |nopreload= |small= |target= }}
Parameters for use as a meta-template:
{{To do ... |above= |below= |category= |image= |inner= |smallfor= (if the |for= parameter should be displayed when small) |To-do= (change the wording "To-do" to something else) }}
Examples
[edit]- {{to do}}
To-do list for Template:To do:
|
- {{to do|9}}
To-do list for Template:To do:
Priority 9 |
- {{to do|small=yes}}
To-do: Updated 2022-10-14
|
- {{to do|small=yes|9}}
To-do: Updated 2022-10-14
Priority 9 |
- {{to do|collapsed=yes|9}}
To-do list for Template:To do:
Priority 9 |
- {{to do|inner=
* To Prepare this article for FA status.
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.
}}
To-do list for Template:To do:
|
- {{to do|list=./to do2}}
To-do list for Template:To do:
To-do list is empty: remove {{To do}} tag or click on edit to add an item. |
- {{to do|target=Talk:Britney Spears|1}}
To-do list for Talk:Britney Spears:
To-do list is empty: remove {{To do}} tag or click on edit to add an item. Priority 1 (top) |
See also
[edit]- {{Tasks}}
- Post-it templates
- {{Post-it small}}
- {{Post-it medium}}
- {{Post-it large}}
- {{Refideas}}