]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki/directive/progress.mdwn
This reverts commit 84c4ca3343663425d9a3105dfb82637b79ec1c04
[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"]]