]> 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 a3adaf93e6e161024903a38e1008fa580eec81c3..bd8b2b6fe1b56eace8e68ed5fd3badc39274ad22 100644 (file)
@@ -1,11 +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(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**."
-]]
+"""]]