X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7f1313c0525570bdd8c660f436bf95ef764fad45..d4702a5dcae515d3dde038ab1c7af7fe9f2a10db:/doc/plugins/haiku.mdwn?ds=inline diff --git a/doc/plugins/haiku.mdwn b/doc/plugins/haiku.mdwn index cb7434464..448733d95 100644 --- a/doc/plugins/haiku.mdwn +++ b/doc/plugins/haiku.mdwn @@ -1,18 +1,12 @@ -This plugin allows inserting a randomly generated haiku into a wiki page. -Just type \\[[haiku hint="argument"]]. +[[!template id=plugin name=haiku author="[[Joey]]"]] +[[!tag type/fun]] +[[!tag type/widget]] -[[haiku hint="argument test"]] +This plugin provides a [[ikiwiki/directive/haiku]] [[ikiwiki/directive]]. +The directive allows inserting a randomly generated haiku into a wiki page. -The hint parameter can be omitted, it only provides the generator a hint of -what to write the haiku about. If no hint is given, it might base it on the -page name. Since the vocabulary it knows is very small, many hints won't -affect the result at all. +As a special bonus, enabling this plugin makes any error messages ikiwiki +should display be written in haiku. -This plugin is included in ikiwiki, but is not enabled by default. As a -special bonus, enabling this plugin makes any error messages ikiwiki should -display be written in haiku. - -You need to have the Coy module installed for this plugin to do anything -interesting. That does all the heavy lifting. - -[[tag plugins/type/fun]] +You need to have the [[!cpan Coy]] module installed for this plugin to do +anything interesting. That does all the heavy lifting.