{$category_id = $category_id|default:$ID} {$width = $width|default:64} {$height = $height|default:64} {$categoryTitle = $TITLE} {$type = $type|default:"span"}
{loop name="category_thumbnail" type="image" quality="100" category=$ID width=$width height=$height resize_mode="crop" limit="1" format="webp"} {{$TITLE|default:$categoryTitle}|cat:' '|cat:'Visuel'} {/loop} {elseloop rel="category_thumbnail"} {$categoryTitle|cat:' '|cat:'Visuel'} {/elseloop}
<{$type}>{$categoryTitle}