X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/19c58ac7c139eb3509f190e9ce746bd9f6237c90..c727e23fdbadd559c6271cc68dbd8606941ffb50:/doc/plugins/pagecount.mdwn diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 34b871262..a56027e60 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,14 +1,10 @@ -[[template id=plugin name=pagecount author="[[Joey]]"]] -[[tag type/meta]] +[[!template id=plugin name=pagecount author="[[Joey]]"]] +[[!tag type/meta]] -Provides a \\[[pagecount ]] [[PreProcessorDirective]] that is replaced with -the total number of pages currently in the wiki. - -The optional parameter "pages" can be a [[PageSpec]] specifying the pages -to count, default is to count them all. - -This plugin is included in ikiwiki, but is not enabled by default. +This plugin provides the [[ikiwiki/directive/pagecount]] +[[ikiwiki/directive]], which displays the number of pages +currently in the wiki. If it is turned on it can tell us that this wiki includes -[[pagecount ]] pages, of which [[pagecount pages="*/Discussion"]] are -discussion pages. +[[!pagecount ]] pages, of which +[[!pagecount pages="*/Discussion"]] are discussion pages.