]> sipb.mit.edu Git - ikiwiki.git/blobdiff - underlays/basewiki/directive/pagecount.mdwn
move back demo and add example
[ikiwiki.git] / underlays / basewiki / directive / pagecount.mdwn
index b2ed09a484b9ad4a0eed1fb384da872cbbb9caa3..314fe382a0325cf04fedd7aa0104f29358a86707 100644 (file)
@@ -1,10 +1,8 @@
 The `pagecount` directive is supplied by the [[!iki plugins/pagecount]] plugin.
 
-This directive counts pages currently in the wiki.
+This directive counts pages currently in the wiki. Example:
+
+       \[[!pagecount pages="*"]]
 
 The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
 pages to count, default is to count them all.
-
-If it is turned on it can tell us that this wiki includes
-[[!pagecount pages="* and !recentchanges"]]
-pages, of which [[!pagecount pages="*/Discussion"]] are discussion pages.