X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8f8959c96ecc69ecc75b5e5c76b52345afce94d8..651cdd4b2a85f4e5f9d298a7eea7d0e6d94442b1:/doc/plugins/haiku.mdwn?ds=inline diff --git a/doc/plugins/haiku.mdwn b/doc/plugins/haiku.mdwn index 330e9367d..448733d95 100644 --- a/doc/plugins/haiku.mdwn +++ b/doc/plugins/haiku.mdwn @@ -1,20 +1,12 @@ -[[template id=plugin name=haiku included=1 author="[[Joey]]"]] -[[tag type/fun]] +[[!template id=plugin name=haiku author="[[Joey]]"]] +[[!tag type/fun]] +[[!tag type/widget]] -This plugin allows inserting a randomly generated haiku into a wiki page. -Just type: - - \[[haiku hint="argument"]] - -[[haiku hint="argument test"]] - -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 provides a [[ikiwiki/directive/haiku]] [[ikiwiki/directive]]. +The directive allows inserting a randomly generated haiku into a wiki page. 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. +You need to have the [[!cpan Coy]] module installed for this plugin to do +anything interesting. That does all the heavy lifting.