X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9921a4a8a1a696ce69acce5e14943f0149d926ff..9b474c2d488839ceec3637c3089eede45a715948:/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)