<a href="{% if link is defined %}{{ link }}{% else %}#{% endif %}"
   class="btn btn-{% if level is defined %}{{ level }}{% else %}secondary{% endif %} btn-icon-split btn-sm {{ classes }}"
   {% if preventContent is defined %} data-prevent-content="{{ preventContent }}"{% endif %}
>
  {% if icon is not empty %}
    <span class="icon text-white-50">
        <i class="{{ icon }}"></i>
    </span>
  {% endif %}
  <span class="text">{% if name is defined %}{{ name }}{% else %}Name missing{% endif %}</span>
</a>