]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki/directive/progress.mdwn
This reverts commit a877cc5d4caeab4f6f369fd1f1aa7520edb7e05f
[git.ikiwiki.info.git] / doc / ikiwiki / directive / progress.mdwn
1 The `progress` directive is supplied by the [[!iki plugins/progress desc=progress]] plugin.
3 This directive generates a progress bar.
5 There are two possible parameter sets.  The first is a single parameter
6 "percent" which holds a percentage figure of how complete the progress bar is.
8 The second possible set of parameters is a pair of [[ikiwiki/PageSpec]]s,
9 `totalpages` and `donepages`. The directive counts the number of
10 pages in each pagespec and shows the percentage of the total pages that are
11 done.
13 For example, to show what percentage of pages have
14 discussion pages:
16         \[[!progress totalpages="* and !*/Discussion" donepages="*/Discussion"]]
18 [[!meta robots="noindex, follow"]]