Template:To do/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This template adds a '''to do list'''. If you place this template, for example, on [[Movie sets]], then type in the to do items on a [[Talk:Movie sets/to do]] page, then this template will automatically display them.
This template adds a '''to do list'''. If you place this template, for example, on [[Movie sets]], then type in the to do items on a [[Talk:Movie sets/to do]] page, then this template will automatically display them.
{{A 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 ===
=== Usage ===
Line 85: Line 80:
{{-}}
{{-}}


===See also===
* {{tl|tasks}}
* Post-it templates
** {{tl|post-it small}}
** {{tl|post-it medium}}
** {{tl|post-it large}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:To-do list templates|{{PAGENAME}}]]
[[Category:Talk header templates|{{PAGENAME}}]]


}}</includeonly>
<includeonly>
[[Category:Templates]]
</includeonly>

Revision as of 02:12, 15 July 2014

This template adds a to do list. If you place this template, for example, on Movie sets, then type in the to do items on a Talk:Movie sets/to do page, then this template will automatically display them.

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|N}} – where N is a number from 1 to 9, defining its priority. (1 is the highest)
  • {{To do|nocats=yes}} – doesn't include categories
  • {{To do|nopreload=yes}} – doesn't include preloaded text
  • {{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=
|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





  • {{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.
    }}



  • {{To do|target=Talk:Britney Spears|1}}