]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates.mdwn
web commit by http://roktas.myopenid.com/: todo item
[ikiwiki.git] / doc / templates.mdwn
index 71bf8a47add56756c6e072c3c26b7d434ef3703d..bd8b2b6fe1b56eace8e68ed5fd3badc39274ad22 100644 (file)
@@ -1,9 +1,12 @@
 [[if test="enabled(template)"
-  then="This wiki has templates **enabled**."
-  else="This wiki has templates **disabled**."]]
+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:
 
 [[inline pages="templates/* and !*/discussion" feeds=no archive=yes
 sort=title template=titlepage]]
+"""]]