Difference between revisions of "Template:Todo/doc"

From PGVWiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 09:34, 9 November 2007

Information icon.png This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox

or your user space before changing anything here.


{{Todo}} — A to-do list template for use in talk pages only

This template adds a todo list to a talk page. It categorises the page into Category:To do, priority undefined unless priority is defined. If priority is defined, it will be added in the appropriate category instead.

Usage

{{todo}} gives a normal todo list
{{todo|PRIORITY}} where PRIORITY is either Major or Minor to define the priority for the todo
{{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.

Example

Code Result
{{todo}}
Stock post message.png To-do list for Template:Todo/doc:

Nuvola apps korganizer.png

Here are some tasks you can do:
{{todo|Minor}}
Stock post message.png To-do list for Template:Todo/doc:

Nuvola apps korganizer.png

Here are some tasks you can do:
Minor Priority
{{todo|small=yes}}
Stock post message.png To-do list:

Nuvola apps korganizer.png

Here are some tasks you can do:
{{todo|small=yes|Major}}
Stock post message.png To-do list:

Nuvola apps korganizer.png

Here are some tasks you can do:
Major Priority
{{todo|list=./to do2}}
Stock post message.png To-do list for Template:Todo/doc:

Nuvola apps korganizer.png

Here are some tasks you can do: