{% load wagtailadmin_tags %} {% comment "text/markdown" %} Displays a user avatar using the avatar template Variables this template accepts: - `classname` - if present, adds classname to the root class list - `user` - A user object to use for the avatar image - `size` (string?) - small, large, square - `tooltip` (string?) - Modifier classes {% endcomment %} {% if size == 'small' %} {% elif size == 'large' %} {% elif size == 'square' %} {% else %} {% endif %}