Thanks splittingred for your help, the only problem i have here is i don't want to just render out just the tv value. So depending on which one is empty.
Probably better to use my actual situation as reading my first post i wasn't that clear.
I have 3 tvs.
TV1 contains a video path,
TV2 contains an image path
TV3 contains a description for the image
IF there's video(tv1) then render the html but if no video then check if a description(tv3) has been added. If there is a description then render the image html with the description html if not just render the image.
I was hoping just to nest some if calls. Oh also this is within a getResoure tpl. This is what i had tried.
[[+tv.videoPath:if=`[[+tv.videoPath]]`:eq=``:then=`[[+tv.hoverText:if=`[[+tv.hoverText]]`:eq=``:then=`MAGE no description`:else:=`IMAGE with description`]]`:else=`VIDEO`]]
it renders a video correctly, but images are all rendered as image with description.
Thanks
B