<if condition="$forumid == 4"> stuff for forumid 4 </if> <if condition="$forumid == 5"> stuff for forumid 5 </if> <else> default stuff </if>