Template:To do: Difference between revisions

From Project Mailer
(Undid revision 789301802 by Train2104 (talk) revert pending investigation of issue reported on talk page)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
}}
}}
</table><includeonly>{{
</table><includeonly>{{
   #ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Wikipedia pages with to-do lists|{{PAGENAME}}]]}}}{{
   #ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Pages with to-do lists|{{PAGENAME}}]]}}}{{
     #if: {{{inner|}}} | | {{
     #if: {{{inner|}}} | | {{
       #ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}}
       #ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}}
       |{{ns:2}}
       |{{ns:2}}
       |{{ns:3}}=
       |{{ns:3}}=
       |#default=[[Category:Wikipedia pages with to-do lists, unused]]
       |#default=[[Category:Pages with to-do lists, unused]]
       }}
       }}
     }}
     }}

Latest revision as of 14:51, 24 March 2019

edit·history·watch·refresh Stock post message.svg To-do list for Template:To do:

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
Template documentation[view] [edit] [history] [purge]

This template adds a to do list to a talk page. If you place this template, for example, on Talk:Article name, then type in the to do items on a Talk:Article name/to do 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

  • {{To do}} – the normal, default to do list
  • {{To do|collapsed=yes}} – collapses the list
  • {{To do|for=[[Wikipedia:WikiProject Foo|WikiProject Foo]]}} – allows alternate project name
  • {{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 suffix px, 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
    • 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)

Parameters

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)
}}

Examples

edit·history·watch·refresh Stock post message.svg To-do list for Template:To do:

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
edit·history·watch·refresh Stock post message.svg To-do list for Template:To do:

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
Priority 9
e·h·w·Stock post message.svg To-do:

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
e·h·w·Stock post message.svg To-do:

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
Priority 9
  • {{To do|collapsed=yes|9}}
  • {{To do|inner=
    * To Prepare this article for FA status.
    * Addition of pictures and/or photographs to illustrate the relevant topics/sections.
    }}
Stock post message.svg To-do list for Template:To do:
  • To Prepare this article for FA status.
  • Addition of pictures and/or photographs to illustrate the relevant topics/sections.
edit·history·watch·refresh Stock post message.svg 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}}
edit·history·watch·refresh Stock post message.svg 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