projects
/
ikiwiki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c47c02e6f3036c31f9c95f5a00d6023e837e7e73
[ikiwiki.git]
/
doc
/
plugins
/
fortune.mdwn
1
[[!template id=plugin name=fortune author="[[Joey]]"]]
2
[[!tag type/fun]]
3
4
This just uses the `fortune` program to insert a fortune into the page.
5
Usage:
6
7
\[[!fortune ]]
8
9
[[!if test="enabled(fortune)" then="""
10
Here's a fortune for you:
11
12
----
13
14
[[!fortune ]]
15
"""]]