todo.mdwn 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. In the [[ticket|tickets]] tracker, each page is a ticket. Sometimes you just
  2. want to insert a short TODO into an existing page. This is the purpose of the
  3. TODO tracker: collect those TODOs and organize them here.
  4. - [[open]]
  5. - [[closed]]
  6. Due to the use of links to collect items, make sure you link to this page when
  7. referring to the TODO tracker, and not to the subpages - otherwise the page you
  8. linked from will be counted as a TODO item.
  9. To create a TODO item, just make a link to the [[open]] subpage of this page.
  10. For example:
  11. \[[TODO|TODO/OPEN]] __Read the vegan recipe list and mark the interesting ones__
  12. When it's done, change the link to [[closed]]:
  13. \[[DONE|TODO/CLOSED]] __Read the vegan recipe list and mark the interesting ones__
  14. (done, now just start trying them when hungry)
  15. To make these links more consistent in style and visible, there is a template
  16. you can use instead. It can add color, size, etc. which are defined in a central
  17. place (the template's page) and make it easy to change the style.
  18. Open item:
  19. \[[!template id=todo
  20. text="Read the vegan recipe list and mark the interesting ones"]]
  21. Closed item:
  22. \[[!template id=todo
  23. done=yes
  24. text="Read the vegan recipe list and mark the interesting ones"
  25. more="(done, now just start trying them when hungry)"]]
  26. Here are some statistics. Note that pages can contain both open and closed
  27. TODOs, and are then counted for both (but just once in the total), but a page
  28. that contains several open TODOs still counts as a single open TODO. And the
  29. same for closed TODOs. Therefore, read the following as "pages with open TODOs"
  30. and "pages with closed TODOs".
  31. - Open: [[!pagecount pages="link(todo/open) and !todo"]]
  32. - Closed: [[!pagecount pages="link(todo/closed) and !todo"]]
  33. - Total: [[!pagecount pages="(link(todo/open) or link(todo/closed)) and !todo"]]