Difference between revisions of "Template:Todolist"
Line 14: | Line 14: | ||
If you want to select only the task for a particular team, add the parameter to the template: <nowiki>{{todolist| team=TeamName }}</nowiki>. For example, the todo list for the [[WebTeam]] can be obtain with <nowiki>{{todolist| team=WebTeam }}</nowiki>. Producing the following output: | If you want to select only the task for a particular team, add the parameter to the template: <nowiki>{{todolist| team=TeamName }}</nowiki>. For example, the todo list for the [[WebTeam]] can be obtain with <nowiki>{{todolist| team=WebTeam }}</nowiki>. Producing the following output: | ||
{{todolist| team=WebTeam }} | {{todolist| team=WebTeam }} | ||
− | |||
</noinclude> | </noinclude> | ||
+ | <nowiki><!-- {{#if:{{{team|}}}|[[Has team::WebTeam]]|}} --></nowiki> | ||
<includeonly> | <includeonly> | ||
{{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{WebTeam}}]]|}} | {{#ask: [[task defined in::+]] [[has status::todo]] {{#if:{{{team|}}}|[[Has team::{{WebTeam}}]]|}} |
Revision as of 13:50, 22 June 2011
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:
<!-- {{#if:{{{team|}}}|[[Has team::WebTeam]]|}} -->
Insert a team's todolist
If you want to select only the task for a particular team, add the parameter to the template: {{todolist| team=TeamName }}. For example, the todo list for the WebTeam can be obtain with {{todolist| team=WebTeam }}. Producing the following output:
<!-- {{#if:{{{team|}}}|[[Has team::WebTeam]]|}} -->
The part "]]" of the query was not understood. Results might not be as expected.
<!-- {{#if:{{{team|}}}|[[Has team::WebTeam]]|}} -->