X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7960031135e74f6d36abc4294dbadb687117222c..0f67e7d96953535e98d9ec26c30a25b8aaad782c:/doc/plugins/conditional.mdwn?ds=inline diff --git a/doc/plugins/conditional.mdwn b/doc/plugins/conditional.mdwn index 7a230fbae..5793cb30e 100644 --- a/doc/plugins/conditional.mdwn +++ b/doc/plugins/conditional.mdwn @@ -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.."]]