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:
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''' for a page. 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 ===
=== Usage ===
Line 5: Line 5:
* {{tlx|To do}} – the normal, default to do list
* {{tlx|To do}} – the normal, default to do list
* {{tlx|To do|collapsed{{=}}yes}} – collapses the list
* {{tlx|To do|collapsed{{=}}yes}} – collapses the list
* {{tlx|To do|for{{=}}<nowiki>[[Wikipedia:WikiProject Foo|WikiProject Foo]]</nowiki>}} – allows alternate project name
* {{tlx|To do|inner{{=}}Blah Blah Blah}} – uses the contents of 'inner' as the to do list
* {{tlx|To do|inner{{=}}Blah Blah Blah}} – uses the contents of 'inner' as the to do list
* {{tlx|To do|list{{=}}./TODO}} – uses the subpage <code>./TODO</code> as the to do list, instead of subpage <code>./to do</code>
* {{tlx|To do|list{{=}}./TODO}} – uses the subpage <code>./TODO</code> as the to do list, instead of subpage <code>./to do</code>
* {{tlx|To do|''N''}} – where <code>''N''</code> is a number from 1 to 9, defining its priority. (1 is the highest)
* {{tlx|To do|nocats{{=}}yes}} – doesn't include categories
* {{tlx|To do|nocats{{=}}yes}} – doesn't include categories
* {{tlx|To do|nopreload{{=}}yes}} – doesn't include preloaded text
* {{tlx|To do|small{{=}}yes}} – formats the to do list as the 'small' version
* {{tlx|To do|small{{=}}yes}} – formats the to do list as the 'small' version
* {{tlx|To do|target{{=}}Foo}} – uses the to do list of page <code>Foo</code> instead
* {{tlx|To do|target{{=}}Foo}} – uses the to do list of page <code>Foo</code> instead
** Use the {{para||target}} parameter for accessing another article's to do list, e.g., from a [[Wikipedia:WikiProject|WikiProject]] page (can be seen in action at [[WP:TBT]])
** Use the {{para||target}} parameter for accessing another article's to do list.


====Parameters====
====Parameters====
Line 64: Line 61:


* {{tlx|To do|inner{{=}}<br><nowiki>
* {{tlx|To do|inner{{=}}<br><nowiki>
* To Prepare this article for FA status.</nowiki><br><nowiki>
* To Prepare this page for update.</nowiki><br><nowiki>
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.</nowiki><br>}}
* Update screen shots.</nowiki><br>}}
{{To do|nocats=yes|inner=
{{To do|nocats=yes|inner=
* To Prepare this article for FA status.
* To Prepare this page for update.
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.
* Update screen shots.
}}
}}
{{-}}
{{-}}
Line 76: Line 73:
{{-}}
{{-}}


* {{tlx|To do|target{{=}}Talk:Britney Spears|1}}
* {{tlx|To do|target{{=}}Movie sets|1}}
{{To do|nocats=yes|target=Talk:Britney Spears|1}}
{{To do|nocats=yes|target=Movie sets|1}}
{{-}}
{{-}}




<includeonly>
<includeonly>
[[Category:Templates]]
[[Category:Maintenance templates]]
</includeonly>
</includeonly>

Revision as of 03:03, 15 July 2014

This template adds a to do list for a page. 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|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|nocats=yes}} – doesn't include categories
  • {{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.

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 page for update.
    * Update screen shots.
    }}



  • {{To do|target=Movie sets|1}}