X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6d63b9665cde5db8fd8601f62db4270ffde56025..83703d2f4a8832155e3c111792489062ccc4793b:/doc/templates.mdwn diff --git a/doc/templates.mdwn b/doc/templates.mdwn index 5bdcbaab6..f2b581d2f 100644 --- a/doc/templates.mdwn +++ b/doc/templates.mdwn @@ -1,13 +1,17 @@ -[[if test="enabled(template)" then=""" -This wiki has templates **enabled**. +[[!meta robots="noindex, follow"]] +[[!if test="enabled(template)" +then="This wiki has templates **enabled**." +else="This wiki has templates **disabled**." +]] + +Templates are files that can be filled out and inserted into pages in the +wiki. -[[if test="enabled(inline)" then=""" -These templates are available for inclusion onto other pages in this -wiki: +[[!if test="enabled(template) and enabled(inline)" then=""" -[[inline pages="templates/* and !*/discussion" feeds=no archive=yes -sort=title template=titlepage]] +These templates are available for use with the template directive. + +[[!inline pages="templates/* and !*/discussion" feeds=no archive=yes +sort=title template=titlepage +rootpage=templates postformtext="Add a new template named:"]] """]] -""" -else="This wiki has templates **disabled**." -]]