{{ mk.icon("layers", 22) }}
{% if spl.configure_url %}
{{ mk.icon("sliders") }}{{ _("Configure this line") }}
{% endif %}
{% if spl.detail_url %}{{ spl.name }}{% else %}{{ spl.name }}{% endif %}
{% if spl.description %}{{ spl.description }}
{% endif %}{{ mk.icon("check-circle") }} {{ _("Always included") }} {{ spl.mandatory | length }} {{ mk.icon("chevron-down") }}
{% for entry in spl.mandatory %}{{ mk.feature_chip(entry.short, external=entry.external) }}{% endfor %}
{{ mk.icon("git-branch") }} {{ group_name }} {% if group.kind == "alternative" %}{% if group.required %}{{ _("choose exactly one") }}{% else %}{{ _("choose one at most") }}{% endif %}{% elif group.kind == "or" %}{% if group.required %}{{ _("choose at least one") }}{% else %}{{ _("choose any") }}{% endif %}{% else %}{{ group.kind }}{% endif %} {{ group.options | length }} {{ mk.icon("chevron-down") }}
{% for entry in group.options %}{{ mk.feature_chip(entry.short, external=entry.external) }}{% endfor %}
{{ mk.icon("plus") }} {{ _("Optional") }} {{ spl.optional | length }} {{ mk.icon("chevron-down") }}
{% for entry in spl.optional %}{{ mk.feature_chip(entry.short, external=entry.external) }}{% endfor %}
{{ mk.icon("link") }} {{ _("Rules") }} {{ _("what each feature needs in this line") }} {{ spl.rules | length }} {{ mk.icon("chevron-down") }}
-
{% for rule in spl.rules %}
{{ rule.feature }}{{ _("needs") }}{{ rule.needs }}
{% endfor %}