Template:Todolist

From FSCONS wiki
Jump to navigation Jump to search

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:


{{#ask: + todo [[Has team::Template:1] |?Has description=Task |?Has team=Team |?Assigned to |format=broadtable |limit=20 |mainlabel=Defined in |offset=0 }}



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:


{{#ask: + todo [[Has team::Template:1] |?Has description=Task |?Has team=Team |?Assigned to |format=broadtable |limit=20 |mainlabel=Defined in |offset=0 }}

<!--{{#if:{{{team|}}}|[[Has team::WebTeam]]|}} -->