[+phx:if=`[+workFull2+]`:gt=`10`:then=`<a href="[+workFull2+]" class="workLink" title="[+longtitle+]" rel="[+pagetitle+]">`:else=``+]
i just tested this on one of my sites. if [+workFull2+] is empty, nothing will be displayed, if i fill in a URL, the whole link will be displayed ( i pasted it directly in the template, changing [+workFull2+] -> [*workFull2*] etc. )
hope i could help
*edit: if the code is a normal chunk (and not a ditto-template chunk ), you probably need to call the TVs like this: [*workFull2*][*longtitle*]...