X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9921a4a8a1a696ce69acce5e14943f0149d926ff..790b4ecbe80e2d362b63be74316c151e3e29fb59:/doc/ikiwiki/directive/if.mdwn diff --git a/doc/ikiwiki/directive/if.mdwn b/doc/ikiwiki/directive/if.mdwn index d6419b18b..2cbf70cdf 100644 --- a/doc/ikiwiki/directive/if.mdwn +++ b/doc/ikiwiki/directive/if.mdwn @@ -1,4 +1,4 @@ -The `if` directive is supplied by the [[!iki plugins/conditional]] plugin. +The `if` directive is supplied by the [[!iki plugins/conditional desc=conditional]] plugin. With this directive, you can make text be conditionally displayed on a page. For example: @@ -23,8 +23,8 @@ If you want the [[ikiwiki/PageSpec]] to only match against the page that contains the conditional, rather than matching against all pages in the wiki, set the "all" parameter to "no". -The regular [[ikiwiki/PageSpec]] syntax is expanded with the following -additional tests: +In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded +with the following additional tests: * enabled(plugin)