X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8f8959c96ecc69ecc75b5e5c76b52345afce94d8..58c77a01f79efaa5692fd30231695c6f8775a7d9:/doc/plugins/polygen.mdwn diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn index 240edc961..6045c1ec9 100644 --- a/doc/plugins/polygen.mdwn +++ b/doc/plugins/polygen.mdwn @@ -1,27 +1,24 @@ -[[template id=plugin name=polygen included=1 author="Enrico Zini"]] -[[tag type/fun]] +[[!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: - - \[[polygen grammar="genius"]] - -It's also possible to specify a starting nonterminal for the grammar by -including `symbol="text"` in the directive. +This plugin provides the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]], +which allows inserting text generated by polygen into a wiki page. +[[!if test="enabled(polygen)" then=""" ---- -If this plugin is enabled, and polygen is installed, here are a few notes -about ikiwiki. +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 -[[polygen grammar="boyband"]]. +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 +[[!polygen grammar="boyband"]]. Ikiwiki reviews: