Metainformationen zur Seite

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
en:wiki:syntax [2022/09/17 08:53] Michael Schlenstedten:wiki:syntax [2022/09/18 09:50] (aktuell) Michael Schlenstedt
Zeile 1020: Zeile 1020:
   {{page>foo@DATENWEEK@@YEAR@:@WEEK@}}   {{page>foo@DATENWEEK@@YEAR@:@WEEK@}}
 includes the page <weekno> from the namespace ''foo<year>'' with next week's date  e.g.  foo2012:01 for the 27th of december 2011 includes the page <weekno> from the namespace ''foo<year>'' with next week's date  e.g.  foo2012:01 for the 27th of december 2011
 +
 +==== (To)Do Plugin ====
 +
 +The do plugin allows users to create simple tasks in wiki pages. Those tasks may be assigned to other users and have a due date. Tasks can be listed in pages as well. 
 +
 +=== Syntax ===
 +
 +There are two syntax elements.
 +
 +== Task ==
 +
 +  <do USER DATE>TEXT</do>
 +
 +Create a new task TEXT, optionally assign it to USER or mark it as due on DATE; there is a toolbar button for this as well.
 +
 +
 +^ Part  ^ Details                                                                                              ^
 +| USER  | User id as accepted by current authentication backend                                                |
 +| DATE  | Date in format ''yyyy-mm-dd''                                                                        |
 +| TEXT  | Description of task. Task texts needs to be **unique at a page**. Duplicates are seen as same task.  |
 +
 +== Listing ==
 +
 +  {{dolist>NAMESPACE?id=ID&status=(DONE|UNDONE)&limit=COUNT&md5=MD5&user=ASSIGNEE&creator=CREATOR&from=YYYY-MM-DD&to=YYYY-MM-DD}}
 +
 +List tasks in NAMESPACE with optional additional filtering
 +
 +^Part        ^Details ^
 +|NAMESPACE   |Namespace to search for tasks |
 +|''id''      |Page to search for tasks |
 +|''status''  |Can have value ''DONE'' or ''UNDONE''. Case insensitive. |
 +|''limit''   |Maximum number of items to display.  |
 +|''md5''     |Show only task with this MD5 value|
 +|''user''    |User id of assigned person or ''@USER@''|
 +|''creator'' |User id of creator |
 +|''from''    | Date YYYY-MM-DD |
 +|''to''      | Date YYYY-MM-DD |