{% if theme %}
{% if standalone_page %} {% endif %}

{{ theme.theme }} {% if diagnostics and yaml_available %} (YAML) {% endif %}

{% if theme.description %}

{{ theme.description }}

{% else %} {% if theme.synergies %}

Built around {{ theme.synergies[:6]|join(', ') }}.

{% else %}

No description.

{% endif %} {% endif %}
{% if theme.popularity_bucket %}{{ theme.popularity_bucket }}{% endif %} {% if diagnostics and theme.editorial_quality %}{{ theme.editorial_quality }}{% endif %} {% if diagnostics and theme.has_fallback_description %}Fallback{% endif %}

Synergies {% if not uncapped %}(capped){% endif %}

{% for s in theme.synergies %}{{ s }}{% endfor %}
{% if diagnostics %} {% if not uncapped and theme.uncapped_synergies %} {% elif uncapped %} {% if theme.uncapped_synergies %}
{% for s in theme.uncapped_synergies %}{{ s }}{% endfor %}
{% endif %} {% endif %} {% endif %}

Example Cards

{% if theme.example_cards %} {% for c in theme.example_cards %} {% set base_c = (c.split(' - Synergy (')[0] if ' - Synergy (' in c else c) %}
{{ c }} image
{{ c }}
{% endfor %} {% else %}
No curated example cards.
{% endif %}

Example Commanders

{% if theme.example_commanders %} {% for c in theme.example_commanders %} {% set base_c = (c.split(' - Synergy (')[0] if ' - Synergy (' in c else c) %}
{{ c }} image
{{ c }}
{% endfor %} {% else %}
No curated commander examples.
{% endif %}
{% else %}
Theme not found.
{% endif %}