{% set cats = templates|map(attribute='category')|unique|list %}
{% for cat in cats %}
{% endfor %}
{% for t in templates %}
{{ t.name }}
{{ t.node_count }} nodes
{{ t.description }}
{% for fw, val in t.badges.items() %}
{{ fw|upper|replace('_',' ') }}: {% if val is number %}{{ val }}%{% else %}{{ val|title }}{% endif %}
{% endfor %}
{% if t.autonomy_max >= 4 %}
L{{ t.autonomy_max }} Auto
{% elif t.autonomy_max >= 2 %}
L{{ t.autonomy_max }} Auto
{% endif %}
{% for tag in t.tag_list %}
{{ tag }}
{% endfor %}