{{ include.description }}
{% if include.labels %}
{% assign labels = include.labels | split:"|" %}
{% for label in labels %}
{% assign label_data = label | split:"::" %}
{% assign label_attr = label_data | split:"==" %}
{% for attr in label_attr %}
{% assign i = forloop.index %}
{% if attr == "color" }
{% assign color = attr[i] %}
{% elsif attr == "link" %}
{% assign link = attr[i] %}
{% elsif attr == "text" %}
{% assign text = attr[i] %}
{% elsif attr == "icon" %}
{% assign icon = attr[i] %}
{% elsif attr == "tooltip" %}
{% assign tooltip = attr[i] %}
{% endif %}
{% endfor %}
{% if link %}
{{ text }}
{% else %}> {{ text }}{% endif %}
{% else %}
{{text}}
{% else %}
> {% if icon %}{% endif %} {{text}}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}