X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/65d0aee407f81db9ca2261fc8ecb1958f62302a9..c69a7f758590c91bd137a8d1cfa99f37bf28045a:/doc/plugins/haiku.mdwn diff --git a/doc/plugins/haiku.mdwn b/doc/plugins/haiku.mdwn index be462645b..f01e2f0f3 100644 --- a/doc/plugins/haiku.mdwn +++ b/doc/plugins/haiku.mdwn @@ -1,16 +1,11 @@ -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]] -[[haiku hint="argument test"]] +This plugin implements the [[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. - -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. +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.