Difference between revisions of "Template:Todolist"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
+ | {{#ask: [[task defined in::+]] [[has status::todo]] [[Assigned to::User:Grégoire]] | ||
+ | |?Has description=Task | ||
+ | |?Assigned to | ||
+ | |?Has deadline=Deadline | ||
+ | |limit=500 | ||
+ | |format=broadtable | ||
+ | |mainlabel=Defined in | ||
+ | |offset=0 | ||
+ | }} | ||
+ | |||
This templates insert a automatic todo list in the page. The todolist can be customized for a particular user if needed. | This templates insert a automatic todo list in the page. The todolist can be customized for a particular user if needed. | ||
Line 12: | Line 22: | ||
=== Insert a user's todolist === | === Insert a user's todolist === | ||
− | 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: | + | 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| user=Grégoire }} | + | {{todolist|user=Grégoire}} |
<includeonly> | <includeonly> | ||
Line 19: | Line 29: | ||
|?Has description=Task | |?Has description=Task | ||
|?Assigned to | |?Assigned to | ||
+ | |?Has deadline=Deadline | ||
+ | |limit=500 | ||
|format=broadtable | |format=broadtable | ||
|mainlabel=Defined in | |mainlabel=Defined in |
Revision as of 17:20, 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: