ikiwiki-update-wikilist: Add -r switch to remove. Default behavior is now always...
[ikiwiki.git] / doc / plugins / conditional.mdwn
index 7a230fbae3e7a0aa187977814567a027cfc2260c..5793cb30e61cd7dd92f736fff78f6948c7c45328 100644 (file)
@@ -1,10 +1,10 @@
-[[template id=plugin name=conditional core=1 author="[[Joey]]"]]
-[[tag type/format]]
+[[!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)"
+       \[[!if test="enabled(smiley)"
              then="The smiley plugin is enabled :-)"
              else="No smiley plugin here.."]]