X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6d63b9665cde5db8fd8601f62db4270ffde56025..b0ce62eb2cd5667f532c70d466c95c9bebe9fd38:/doc/templates.mdwn diff --git a/doc/templates.mdwn b/doc/templates.mdwn index 5bdcbaab6..bd8b2b6fe 100644 --- a/doc/templates.mdwn +++ b/doc/templates.mdwn @@ -1,13 +1,12 @@ -[[if test="enabled(template)" then=""" -This wiki has templates **enabled**. +[[if test="enabled(template)" +then="This wiki has templates **enabled**." +else="This wiki has templates **disabled**." +]] -[[if test="enabled(inline)" then=""" +[[if test="enabled(template) and enabled(inline)" then=""" These templates are available for inclusion onto other pages in this wiki: [[inline pages="templates/* and !*/discussion" feeds=no archive=yes sort=title template=titlepage]] """]] -""" -else="This wiki has templates **disabled**." -]]