[[!If? &subject=`[[*name]]` &operator=`notempty` &then=`<div>my html-code</div>` &else=`` ]]
> operator=`notempty` &then=`<div>my html-code</div>`...
[[*name:notempty=`<div>my html-code</div>`]]
[[!If? &subject=`[[*name]]` &operator=`notempty` &then=`<div>my html-code</div>` &else=`` ]]
[[!If? &subject=`[[*name]]` &operator=`notempty` &then=`<div>my html-code</div>` &else=``]]
With built-in output filters, I’m not sure why there would be a need for an [tt]If[/tt] add-on.
Anyhoo, try this:
[[*name:notempty=`<div>my html-code</div>`]]
[[*name:notempty=`<div>my html-code</div>`]]
[!If?...