{# Wrapper function #} {% macro Icon(type, icon, classes = '', title = '', hidden = false, attributes = {}) %} {% set type = type|capitalize %} {% if type in ['Fa', 'Png', 'Svg'] %} {{ attribute(_self, type, [icon, classes, title, hidden, attributes]) }} {% endif %} {% endmacro Icon %} {# FA icons #} {% macro Fa(icon, classes = '', title = '', hidden = false, attributes = {}) %} {% if title %}