]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/templates.mdwn
move template documentation to the template directive
[git.ikiwiki.info.git] / doc / templates.mdwn
index bd8b2b6fe1b56eace8e68ed5fd3badc39274ad22..f2b581d2f8f76521225f7283fd1813bdf05a0f80 100644 (file)
@@ -1,12 +1,17 @@
-[[if test="enabled(template)"
+[[!meta robots="noindex, follow"]]
+[[!if test="enabled(template)"
 then="This wiki has templates **enabled**."
 else="This wiki has templates **disabled**."
 ]]
 
-[[if test="enabled(template) and enabled(inline)" then="""
-These templates are available for inclusion onto other pages in this
-wiki:
+Templates are files that can be filled out and inserted into pages in the
+wiki.
 
-[[inline pages="templates/* and !*/discussion" feeds=no archive=yes
-sort=title template=titlepage]]
+[[!if test="enabled(template) and enabled(inline)" then="""
+
+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:"]]
 """]]