From ce0037e0ff41a75d0e6c947ef547ef9630c54be9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 14 Oct 2010 13:38:20 +0200 Subject: Sync with ikiwiki 3.20100926. --- ikiwiki/directive/progress.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ikiwiki/directive/progress.mdwn (limited to 'ikiwiki/directive/progress.mdwn') diff --git a/ikiwiki/directive/progress.mdwn b/ikiwiki/directive/progress.mdwn new file mode 100644 index 0000000..a552077 --- /dev/null +++ b/ikiwiki/directive/progress.mdwn @@ -0,0 +1,18 @@ +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"]] -- cgit v1.2.3