Difference between revisions of "Template:Todolist"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | + | This templates insert a automatic todo list in the page. The todolist can be customized for a particular team if needed. | |
− | |||
− | This templates insert a automatic todo list in the page. The todolist can be customized for a particular | ||
== usage == | == usage == | ||
Line 14: | Line 12: | ||
=== Insert a user's todolist === | === Insert a user's todolist === | ||
− | If you want to | + | |
− | + | 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> | ||
<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 | ||
|?Assigned to | |?Assigned to |
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 }}