X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/fe64ddb62e19a83cfcde45d05a312734dbb056f8..9b20e0a24ef0bba1a04eb5d29a5a855f242cd933:/doc/plugins/polygen.mdwn diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn index 49078300e..6045c1ec9 100644 --- a/doc/plugins/polygen.mdwn +++ b/doc/plugins/polygen.mdwn @@ -1,26 +1,24 @@ -This plugin allows inserting text generated by polygen into a wiki page. -For example: +[[!template id=plugin name=polygen author="Enrico Zini"]] +[[!tag type/fun]] - \[[polygen grammar="genius"]] - -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. +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=""" ---- -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"]]. +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 reviews: