<div class="user-pic">
<mt:if name="userpic_type" eq="profile">
    <img
        src="<mt:if tag="AuthorUserpicURL"><$MTAuthorUserpicURL$><mt:else><$MTStaticWebPath$>images/default-userpic-90.jpg</mt:if>"
        width="<$mt:var name="userpic_size"$>" height="<$mt:var name="userpic_size"$>" alt="user-pic" />
<mt:else name="userpic_type" eq="commenter">
    <mt:if tag="CommenterID">
    <a href="<mt:var name="profile_view_url" encode_html="1"><$MTCommenterID$>"><img
        src="<mt:if tag="CommenterUserpic"><$MTCommenterUserpicURL$><mt:else><$MTStaticWebPath$>images/default-userpic-90.jpg</mt:if>"
        width="<$mt:var name="userpic_size"$>" height="<$mt:var name="userpic_size"$>" alt="user-pic" /></a>
    <mt:else>
    <img src="<mt:if tag="CommenterUserpic"><$MTCommenterUserpicURL$><mt:else><$MTStaticWebPath$>images/default-userpic-90.jpg</mt:if>" width="<$mt:var name="userpic_size"$>" height="<$mt:var name="userpic_size"$>" alt="user-pic" />
    </mt:if>
    <mt:IfCommenterIsAuthor>
    <mt:else>
        <mt:if tag="CommenterAuthIconURL">
    <a href="<mt:var name="profile_view_url" encode_html="1"><$MTCommenterID$>" class="auth-icon"><img src="<$MTCommenterAuthIconURL size="logo_small"$>" alt="<$mt:CommenterAuthType$>"/></a>
        </mt:if>
    </mt:IfCommenterIsAuthor>
<mt:else name="userpic_type" eq="userlist">
    <a href="<mt:var name="profile_view_url" encode_html="1"><$MTAuthorID$>"><img
        src="<mt:if tag="AuthorUserpicURL"><$MTAuthorUserpicURL$><mt:else><$MTStaticWebPath$>images/default-userpic-90.jpg</mt:if>"
        width="<$mt:var name="userpic_size"$>" height="<$mt:var name="userpic_size"$>" alt="user-pic" /></a>
<mt:else>
    <a href="<mt:var name="profile_view_url" encode_html="1"><$MTEntryAuthorID$>"><img
        src="<mt:if tag="EntryAuthorUserpicURL"><$MTEntryAuthorUserpicURL$><mt:else><$MTStaticWebPath$>images/default-userpic-90.jpg</mt:if>"
        width="<$mt:var name="userpic_size"$>" height="<$mt:var name="userpic_size"$>" alt="user-pic" /></a>
</mt:if>
</div>
