{% if icon %} {%with template_name=icon|stringformat:"s"|add:".html" %} {%include "icons/"|add:template_name%} {%endwith%} {%endif%}