]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/pagecount.mdwn
move back demo and add example
[ikiwiki.git] / doc / plugins / pagecount.mdwn
index 8fc04ff762c6061e98f856d002ba0d775dd2cb75..6235963d320deba56a936d40e80d88190e84cf2c 100644 (file)
@@ -1,13 +1,10 @@
-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]]
 
-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="* and !recentchanges"]]
+pages, of which [[!pagecount pages="*/Discussion"]] are discussion pages.