]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/haiku.mdwn
move example
[git.ikiwiki.info.git] / doc / plugins / haiku.mdwn
index 1ea5eb4d912ad485c1d7f7a39554f45e79e77e15..f01e2f0f3c19fe9537146711eaeca24b61c2fcee 100644 (file)
@@ -1,17 +1,8 @@
-[[template id=plugin name=haiku included=1 author="""[[Joey]]"""]]
-[[tag type/fun]]
+[[!template id=plugin name=haiku author="[[Joey]]"]]
+[[!tag type/fun]]
 
-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 implements the [[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.