<span class="avatar">
    <span class="avatar-image">
        {image -> f:format.raw()}
    </span>
    <f:if condition="{showIcon}">
        <span class="avatar-icon">
            <core:iconForRecord table="be_users" row="{backendUser}" size="small" />
        </span>
    </f:if>
</span>
