XF 2.2 Advertising only in threat view

Hello everyone!

I want to put an advertising above the breadcrumb container, but only in thread view. Is it possible?

Right now the advertising is set as Container breadcrumb (top): Above.

I tried to add:
<xf:if is="$template == 'thread_view'">
</xf:if>
But this didn't seems to work. It doesn't show anywhere now.
 
Last edited:
Top