Difference between revisions of "Template:Todolist"
Jump to navigation
Jump to search
(45 intermediate revisions by 2 users 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: | ||
+ | |||
+ | <nowiki>{{todolist| user=Rikard }}</nowiki> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | {{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{{team}}}]]|}} | + | {{#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 | ||
− | |||
|?Assigned to | |?Assigned to | ||
+ | |?Has deadline=Deadline | ||
+ | |limit=500 | ||
|format=broadtable | |format=broadtable | ||
− | |||
|mainlabel=Defined in | |mainlabel=Defined in | ||
|offset=0 | |offset=0 | ||
}} | }} | ||
</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 }}