X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6f46cc3b3134e947bb2c5f1ae7dfdd85c9d9dc0c..4e7b7a178890eb8d28edcd2e6ab2763c9a3988e5:/doc/plugins/progress.mdwn diff --git a/doc/plugins/progress.mdwn b/doc/plugins/progress.mdwn index 987d1ec06..20736d18c 100644 --- a/doc/plugins/progress.mdwn +++ b/doc/plugins/progress.mdwn @@ -1,19 +1,5 @@ [[!template id=plugin name=progress author="[[Will]]"]] -[[!tag type/meta]] +[[!tag type/widget]] -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"]] +This plugin provides the [[ikiwiki/directive/progress]] +[[ikiwiki/directive]], which generates a progress bar.