aboutsummaryrefslogtreecommitdiff
path: root/underlays/basewiki/directive/progress.mdwn
blob: c477c435abb8e50bd161655cce2a8095d1716a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The `progress` directive is supplied by the [[!iki plugins/progress]] plugin.

This directive generates a progress bar.

There are two possible parameter sets.  The first is a single parameter
"percent" which holds a percentage figure of how complete the progress bar is.

The second possible set of parameters is a pair of [[ikiwiki/PageSpec]]s,
`totalpages` and `donepages`.  The progress plugin counts the number of
pages in each pagespec and shows the percentage of the total pages that are
done.

For example, to show what percentage of pages have
discussion pages:

	\[[!progress totalpages="* and !*/Discussion" donepages="*/Discussion"]]

[[!meta robots="noindex, follow"]]