<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 }}"
   data-prevent-content="{{ preventContent }}"
>
  {% 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>