]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/pagestats.mdwn
rename preprocessordirective to directive
[ikiwiki.git] / doc / plugins / pagestats.mdwn
index a9f3bdbdb79a7c7d0770ca1e0a23c1a8cfc2892b..ab32fb002499b998f27712bd3b94b5f1e3d9beb0 100644 (file)
@@ -1,15 +1,14 @@
+[[!template id=plugin name=pagestats author="Enrico Zini"]]
+[[!tag type/meta type/tags]]
+
 This plugin can generate stats about how pages link to each other. It can
 produce either a del.icio.us style cloud, or a table counting the number of
 links to each page.
 
 Here's how to use it to create a [[tag]] cloud:
 
-       \[[pagestats pages="tags/*"]]
+       \[[!pagestats pages="tags/*"]]
 
 And here's how to create a table of all the pages on the wiki:
 
-       \[[pagestats style="table"]]
-
-This plugin is included in ikiwiki, but is not enabled by default.
-
-[[tag type/meta type/tags]]
+       \[[!pagestats style="table"]]