X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a59b1ac8d8eb220fd4f574af4a8a6742825aac6f..f8cbf79735bc4588ba6fde12f3855a51efeb7ae8:/doc/plugins/haiku.mdwn?ds=sidebyside diff --git a/doc/plugins/haiku.mdwn b/doc/plugins/haiku.mdwn index 977272cf6..330e9367d 100644 --- a/doc/plugins/haiku.mdwn +++ b/doc/plugins/haiku.mdwn @@ -1,14 +1,20 @@ +[[template id=plugin name=haiku included=1 author="[[Joey]]"]] +[[tag type/fun]] + This plugin allows inserting a randomly generated haiku into a wiki page. -Just type \\[[haiku hint="argument with a bear"]]. +Just type: + + \[[haiku hint="argument"]] -[[haiku hint="argument with a bear"]] +[[haiku hint="argument test"]] -The hint parameter can be omitted, it only provides the generator a hint at +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.