]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/conditional.mdwn
nice formatting
[ikiwiki.git] / doc / plugins / conditional.mdwn
index f3398af573d58d27d79f8fbc38e8bc636aabd2b1..a8dd215898e1dd24eca087e4a94dd67c22522885 100644 (file)
@@ -1,12 +1,12 @@
-[[template id=plugin name=conditional core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=conditional core=1 author="[[Joey]]"]]
 [[tag type/format]]
 
 With this plugin, you can make text be conditionally displayed on a page.
 For example:
 
        \[[if test="enabled(smiley)"
-       then="The smiley plugin is enabled :-)"
-       else="No smiley plugin here.."]]
+             then="The smiley plugin is enabled :-)"
+             else="No smiley plugin here.."]]
 
 If the specified `test` succeeds, the `then` text will be displayed,
 otherwise the `else` text will be displayed. The `else` part is optional.