X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5fa5b137fd61159bfc6e5dd36395fb9e04462434..c716f64018af36325a215b5cf125861ff0a983df:/doc/ikiwiki/directive/if.mdwn diff --git a/doc/ikiwiki/directive/if.mdwn b/doc/ikiwiki/directive/if.mdwn index 2338956d2..492adf499 100644 --- a/doc/ikiwiki/directive/if.mdwn +++ b/doc/ikiwiki/directive/if.mdwn @@ -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) @@ -43,6 +43,8 @@ additional tests: * included() - Tests whether the page is being included onto another page. + Tests whether the page is being included onto another page, for example + via [[inline]] or [[map]]. Note that pages inserted into other pages + via [[template]] are not matched here. [[!meta robots="noindex, follow"]]