Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:wiki:syntax [2022/09/15 21:00] – Michael Schlenstedt | en:wiki:syntax [2022/09/18 09:50] (aktuell) – Michael Schlenstedt | ||
---|---|---|---|
Zeile 911: | Zeile 911: | ||
| msoffice | | msoffice | ||
| msstream | | msstream | ||
+ | |||
+ | ==== Include Plugin ==== | ||
+ | |||
+ | This is a handy plugin with which you can include another wiki page into the current one. Just including certain sections of a page or even whole namespaces is supported, too. | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | === Syntax === | ||
+ | |||
+ | Simply enclose the ID of the page to be included in double curly brackets: | ||
+ | |||
+ | {{page> | ||
+ | {{section> | ||
+ | {{namespace> | ||
+ | {{tagtopic> | ||
+ | |||
+ | ^ [id] | page ID of the page to include; some [[#macros]] are possible; shortcuts are resolved ('':'', | ||
+ | ^ [section] | limits the included page to a specific section and its subsections | optional; default is the whole page , this can be used with namespace (if matches)| | ||
+ | ^ [tag]|include pages with tag topic tag, requires [[plugin: | ||
+ | ^ [flags] | flags delimited by ''&'', | ||
+ | |||
+ | The plugin offers four syntaxes, '' | ||
+ | |||
+ | Section is aimed more at including sections, page at including whole pages and namespace at including whole namespaces. Tagtopic includes all pages with a '' | ||
+ | |||
+ | === Configuration and Flags === | ||
+ | |||
+ | The plugin can be configured in the DokuWiki configuration manager available in the admin menu. These settings also affect the [[plugin: | ||
+ | |||
+ | ^ Configuration option | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ - | '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ - | '' | ||
+ | ^ - | '' | ||
+ | ^ '' | ||
+ | ^ - | '' | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | {{page> | ||
+ | {{page> | ||
+ | {{namespace> | ||
+ | {{namespace> | ||
+ | |||
+ | === Macros === | ||
+ | |||
+ | Simple macros are possible to serve a page on a per user or per date base. These are: | ||
+ | |||
+ | ^ @USER@ | ||
+ | ^ @NAME@ | ||
+ | ^ @GROUP@ | first group the user belongs to | | ||
+ | ^ @YEAR@ | ||
+ | ^ @MONTH@ | 2-digit month | | ||
+ | ^@WEEK@ |2-digit ISO week number | | ||
+ | ^ @DAY@ | 2-digit day | | ||
+ | ^ @DATE< | ||
+ | |||
+ | < | ||
+ | |||
+ | ^ PYEAR | previous year | | ||
+ | ^ NYEAR | next year | | ||
+ | ^ PMONTH | previous month | | ||
+ | ^ NMONTH | next month | | ||
+ | ^ PWEEK | previous week | | ||
+ | ^ NWEEK | next week | | ||
+ | ^ YESTERDAY | yesterday' | ||
+ | ^ TOMORROW | tomorrow' | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | {{page> | ||
+ | includes the page '' | ||
+ | |||
+ | {{page> | ||
+ | includes the page '' | ||
+ | |||
+ | {{page> | ||
+ | includes the page < | ||
+ | |||
+ | ==== (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> | ||
+ | |||
+ | 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 '' | ||
+ | | TEXT | Description of task. Task texts needs to be **unique at a page**. Duplicates are seen as same task. | | ||
+ | |||
+ | == Listing == | ||
+ | |||
+ | {{dolist> | ||
+ | |||
+ | List tasks in NAMESPACE with optional additional filtering | ||
+ | |||
+ | ^Part ^Details ^ | ||
+ | |NAMESPACE | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' |