Difference between revisions of "Template:Todolist"

From FSCONS wiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
<includeonly>
 
<includeonly>
{{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{{team}}}]]|}} {{#if:{{{assignedTo|}}}|[[Assigned to::User:{{{assignedTo}}}]]|}} {{#if:{{{user|}}}|[[Assigned to::User:{{{user}}}]]|}}
+
{{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{{team}}}]]|}} {{#if:{{{assignedTo|}}}|[[Assigned to::User:{{{assignedTo}}}]]|}}
 
|?Has description=Task
 
|?Has description=Task
 
|?Assigned to
 
|?Assigned to
 +
|?Has deadline=Deadline
 
|limit=500
 
|limit=500
 
|format=broadtable
 
|format=broadtable

Revision as of 17:26, 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: