XF 2.0 Conditional in advert slot

Case

Well-known member
Should they work? The following isn't working in position Container Content: Below.

Code:
<xf:if is="$template =='forum_list'">

            Advert 1

        <xf:else />

            Advert 2

        </xf:if>

I'm seeing Advert 2 on the forum overview, it should be Advert 1.
 
Top Bottom