X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2794d7ef5abc4fa8fc2eb42d5c85ada197df0767..a47e835f3a97c9f490622f21562b32fbf527ef1b:/doc/plugins/pagecount.mdwn?ds=sidebyside diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 8fc04ff76..71872fae8 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,13 +1,11 @@ -Provides a \\[[pagecount ]] [[PreProcessorDirective]] that is replaced with -the total number of pages currently in the wiki. +[[!template id=plugin name=pagecount author="[[Joey]]"]] +[[!tag type/meta]] +[[!tag type/widget]] -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. - -[[tag type/meta]] +[[!pagecount ]] pages, of which +[[!pagecount pages="*/Discussion"]] are discussion pages.