path: root/ikiwiki/directive/progress.mdwn
blob: a5520776b88daf36a334e229d6a648858ec36123 (plain)

The progress directive is supplied by the [[!iki plugins/progress desc=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 directive counts the number of pages in each pagespec and shows the percentage of the total pages that are done.

Eksempelvis at vise procentdel af sider med diskussionssider:

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

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