Check for enabled(inline) before using inline.
parent
18e776f4c1
commit
6d63b9665c
|
@ -1,11 +1,13 @@
|
||||||
[[if test="enabled(template)" then="""
|
[[if test="enabled(template)" then="""
|
||||||
This wiki has templates **enabled**.
|
This wiki has templates **enabled**.
|
||||||
|
|
||||||
|
[[if test="enabled(inline)" then="""
|
||||||
These templates are available for inclusion onto other pages in this
|
These templates are available for inclusion onto other pages in this
|
||||||
wiki:
|
wiki:
|
||||||
|
|
||||||
[[inline pages="templates/* and !*/discussion" feeds=no archive=yes
|
[[inline pages="templates/* and !*/discussion" feeds=no archive=yes
|
||||||
sort=title template=titlepage]]
|
sort=title template=titlepage]]
|
||||||
|
"""]]
|
||||||
"""
|
"""
|
||||||
else="This wiki has templates **disabled**."
|
else="This wiki has templates **disabled**."
|
||||||
]]
|
]]
|
||||||
|
|
Loading…
Reference in New Issue