Check for enabled(inline) before using inline.

master
joshtriplett 2007-04-09 21:11:36 +00:00
parent 18e776f4c1
commit 6d63b9665c
1 changed files with 2 additions and 0 deletions

View File

@ -1,11 +1,13 @@
[[if test="enabled(template)" then="""
This wiki has templates **enabled**.
[[if test="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**."
]]