{%- macro type_info(value) %} {% if value == '1' %} {% elseif value == '2' %} {% elseif value == '3' %} {% endif %} {%- endmacro %}