Difference between revisions of "Template:Todolist"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This templates insert a automatic todo list in the page. The todolist can be customized for a particular | + | This templates insert a automatic todo list in the page. The todolist can be customized for a particular user if needed. |
== usage == | == usage == | ||
Line 11: | Line 11: | ||
− | === Insert a | + | === Insert a user's todolist === |
− | If you want to select only the task for a particular | + | If you want to select only the task for a particular user, add the parameter to the template: <nowiki>{{todolist| user=UserName }}</nowiki>. For example, the todo list for [[User:Grégoire]] can be obtain with <nowiki>{{todolist| user=Grégoire }}</nowiki>. Producing the following output: |
− | {{todolist| | + | {{todolist| user=Grégoire }} |
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> | ||
− | {{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{{team}}}]]|}} {{#if:{{{assignedTo|}}}|[[Assigned to::User:{{{assignedTo}}}]]|}} | + | {{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{{team}}}]]|}} {{#if:{{{assignedTo|}}}|[[Assigned to::User:{{{assignedTo}}}]]|}} {{#if:{{{user|}}}|[[Assigned to::User:{{{user}}}]]|}} |
|?Has description=Task | |?Has description=Task | ||
|?Has team=Team | |?Has team=Team | ||
|limit=500 | |limit=500 | ||
|?Assigned to | |?Assigned to | ||
+ | |?Has deadline | ||
|format=broadtable | |format=broadtable | ||
|mainlabel=Defined in | |mainlabel=Defined in |
Revision as of 17:13, 17 May 2012
This templates insert a automatic todo list in the page. The todolist can be customized for a particular user if needed.
usage
insert the full todo list
Inserting the list of all active todo items is really easy, just write {{todolist}} in the page source. This will produce the following output:
Insert a user's todolist
If you want to select only the task for a particular user, add the parameter to the template: {{todolist| user=UserName }}. For example, the todo list for User:Grégoire can be obtain with {{todolist| user=Grégoire }}. Producing the following output: