{# Renders a element with WebP source + PNG/JPEG fallback via LiipImagine. @param string path — relative image path (e.g. 'images/characters/scout_ikona.png') @param string filter — base filter name (e.g. 'char_icon') — appends '_webp' automatically @param string alt — alt text @param string class — CSS classes for (default '') @param string loading — 'lazy' or 'eager' (default 'lazy') @param int|null width — explicit width attribute (optional) @param int|null height — explicit height attribute (optional) #} {% macro picture(path, filter, alt, class, loading, width, height) %} {{ alt }} {% endmacro %}