summaryrefslogtreecommitdiff
path: root/doc/plugins/progress.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-09 14:44:58 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-09 14:44:58 -0400
commit6f46cc3b3134e947bb2c5f1ae7dfdd85c9d9dc0c (patch)
tree1153c6722899aa5bf55b774903419184d56c4403 /doc/plugins/progress.mdwn
parent848d0d0a3bdbae74133f3a14c13923c696f28ffb (diff)
progress: New plugin to generate progress bars (willu)
Diffstat (limited to 'doc/plugins/progress.mdwn')
-rw-r--r--doc/plugins/progress.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/plugins/progress.mdwn b/doc/plugins/progress.mdwn
new file mode 100644
index 000000000..987d1ec06
--- /dev/null
+++ b/doc/plugins/progress.mdwn
@@ -0,0 +1,19 @@
+[[!template id=plugin name=progress author="[[Will]]"]]
+[[!tag type/meta]]
+
+Provides a \\[[!progress ]] [[ikiwiki/directive]] that displays a
+progress bar.
+
+There are two possible parameter sets. The first is a single parameter
+`percent` which holds a percentage figure for how complete the progress bar is.
+
+The second possible set of parameters is a pair of [PageSpecs|[ikiwiki/PageSpec]],
+`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.
+
+This plugin is included in ikiwiki, but is not enabled by default.
+
+If it is turned on it can show what percentage of pages have discussion pages:
+
+ \[[!progress totalpages="* and !*/Discussion" donepages="*/Discussion"]]