Difference between revisions of "Template:Todolist"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
− | === Insert a | + | === Insert a user's todolist === |
− | |||
− | |||
− | + | If you want to list the tasks for a specific user, you can write <nowiki>{{todolist| user=UserName }}</nowiki>, where UserName is a User, e.g. Rikard. That would list Rikard's tasks like so: | |
− | {{todolist| | + | |
+ | <nowiki>{{todolist| user=Rikard }}</nowiki> | ||
</noinclude> | </noinclude> | ||
<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 | + | |?Assigned to |
+ | |?Has deadline=Deadline | ||
|limit=500 | |limit=500 | ||
− | |||
|format=broadtable | |format=broadtable | ||
|mainlabel=Defined in | |mainlabel=Defined in | ||
Line 30: | Line 29: | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
− |
Latest revision as of 22:18, 29 March 2015
This templates insert a automatic todo list in the page. The todolist can be customized for a particular team 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 list the tasks for a specific user, you can write {{todolist| user=UserName }}, where UserName is a User, e.g. Rikard. That would list Rikard's tasks like so:
{{todolist| user=Rikard }}