Board Thread:Support Requests - Getting Technical/@comment-4795804-20140327112947

Hello,

I would like to use the following code on a template that is used for creating other templates:

To use this template on a page, simply add to it.

This should be the result on templates:

To use this template on a page, simply add to it.

while this should be the result on all other namespaces:

To use this template on a page, simply add to it.

However, the condition  doesn't return the correct result when combined with , i.e. coding like this one returns   when used on the template namespace:

while this one returns always :

Template

Let me know if there is anybody here who can help me to solve the issue. 