2013-11-29 10:48:47 +01:00
|
|
|
[[!template id=plugin name=cowsay author="[[BrianCandler]]"]]
|
|
|
|
[[!tag type/fun]]
|
|
|
|
|
2013-11-29 10:51:10 +01:00
|
|
|
This plugin provides the cowsay [[ikiwiki/directive]].
|
2013-11-29 10:48:47 +01:00
|
|
|
This directive allows creation of ASCII-art cows.
|
|
|
|
|
|
|
|
For example,
|
|
|
|
|
|
|
|
~~~
|
|
|
|
\[[!cowsay state="stoned" text="""
|
|
|
|
moo tube!
|
|
|
|
"""]]
|
|
|
|
~~~
|
|
|
|
|
|
|
|
renders as
|
|
|
|
|
|
|
|
~~~
|
|
|
|
___________
|
|
|
|
< moo tube! >
|
|
|
|
-----------
|
|
|
|
\ ^__^
|
|
|
|
\ (**)\_______
|
|
|
|
(__)\ )\/\
|
|
|
|
U ||----w |
|
|
|
|
|| ||
|
|
|
|
~~~
|
|
|
|
|
|
|
|
You must have the [cowsay](https://en.wikipedia.org/wiki/Cowsay) package
|
|
|
|
installed.
|
|
|
|
|
|
|
|
# Download
|
|
|
|
|
|
|
|
You can get the source code from [github](https://github.com/candlerb/ikiwiki-cowsay)
|