Check for enabled(inline) before using inline.
parent
18e776f4c1
commit
6d63b9665c
|
@ -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**."
|
||||
]]
|
||||
|
|
Loading…
Reference in New Issue