X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9dbe10e3f06c18860c8c1a4b00c49cb15c8f15c5..fde26825482e1455e4834dc9d239a7ba51f9ce13:/doc/plugins/haiku.mdwn diff --git a/doc/plugins/haiku.mdwn b/doc/plugins/haiku.mdwn index d78e609da..74eac1c29 100644 --- a/doc/plugins/haiku.mdwn +++ b/doc/plugins/haiku.mdwn @@ -1,20 +1,11 @@ -This plugin allows inserting a randomly generated haiku into a wiki page. -Just type: +[[!template id=plugin name=haiku author="[[Joey]]"]] +[[!tag type/fun]] - \[[haiku hint="argument"]] +This plugin provides a [[ikiwiki/directive/haiku]] [[ikiwiki/directive]]. +The directive allows inserting a randomly generated haiku into a wiki page. -[[haiku hint="argument test"]] +As a special bonus, enabling this plugin makes any error messages ikiwiki +should display be written in haiku. -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. - -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 type/fun]] +You need to have the [[!cpan Coy]] module installed for this plugin to do +anything interesting. That does all the heavy lifting.