X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/becacc5566bfa841f907b51f36d0034081842752..a1088212eeb2714723154f9f0988fbf59b45a2d2:/doc/plugins/polygen.mdwn?ds=sidebyside

diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn
index d2c402146..8d6794073 100644
--- a/doc/plugins/polygen.mdwn
+++ b/doc/plugins/polygen.mdwn
@@ -1,3 +1,6 @@
+[[template id=plugin name=polygen author="Enrico Zini"]]
+[[tag type/fun]]
+
 This plugin allows inserting text generated by polygen into a wiki page.
 For example:
 
@@ -6,13 +9,11 @@ For example:
 It's also possible to specify a starting nonterminal for the grammar by
 including `symbol="text"` in the directive.
 
-This plugin is included in ikiwiki, but not enabled by default.
-
-If this plugin is enabled, and polygen is installed, here are a few notes
-about ikiwiki.
-
+[[if test="enabled(polygen)" then="""
 ----
 
+Here are a few notes about ikiwiki, courtesy of polygen:
+
 Ikiwiki is internally based on a [[polygen grammar="designpatterns"]]
 coupled to a [[polygen grammar="designpatterns"]], as described in
 "[[polygen grammar="paper"]]" by [[polygen grammar="nipponame"]] of
@@ -25,4 +26,4 @@ Ikiwiki reviews:
 <li>[[polygen grammar="reviews"]]</li>
 </ul>
 
-[[tag type/fun]]
+"""]]