<TMPL_block 'avatar_160' args(container_type, avatar_username, has_button)><TMPL_verbose>
<div class="b-profile--avatar_shadow b-profile--avatar_160">
<TMPL_if (container_type eq 'link')>
<a class="b-profile--avatar_link" href="/profile/avatar/">
<img id="avatar" class="b-profile--avatar_image"
src="//avatars.rambler.ru/160x160/<TMPL_var HTMLESCAPE(avatar_username)>" width="160" height="160" alt="">
<TMPL_if (has_button eq 'true')>
</TMPL_if>
</a>
<TMPL_elsif (container_type eq 'div')>
<div class="b-profile--avatar_link">
<img id="avatar"
class="b-profile--avatar_image" src="//avatars.rambler.ru/160x160/<TMPL_var HTMLESCAPE(avatar_username)>" width="160" height="160" alt="">
<TMPL_if (has_button eq 'true')>
</TMPL_if>
</div>
</TMPL_if>
</div>
</TMPL_verbose></TMPL_block>
<TMPL_call 'avatar_160' args('div', 'test@test.ru', 'true')>
~