summaryrefslogtreecommitdiff
path: root/underlays/basewiki/directive
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:53:21 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:53:21 -0400
commitd48e55c3d98c0668e5463ae9d20004e42605b007 (patch)
tree93899cf97559e921334d161b568d477dafd60446 /underlays/basewiki/directive
parentaa37d64d6a7134632bf1c35fa48c5f94af6230ab (diff)
move back demo and add example
Diffstat (limited to 'underlays/basewiki/directive')
-rw-r--r--underlays/basewiki/directive/pagecount.mdwn8
1 files changed, 3 insertions, 5 deletions
diff --git a/underlays/basewiki/directive/pagecount.mdwn b/underlays/basewiki/directive/pagecount.mdwn
index b2ed09a48..314fe382a 100644
--- a/underlays/basewiki/directive/pagecount.mdwn
+++ b/underlays/basewiki/directive/pagecount.mdwn
@@ -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.