{% set step_index = 5 %}{% set step_total = 5 %}

Step 5: Build

{% include "build/_stage_navigator.html" %}

Commander: {{ commander }}

Tags: {{ tags|default([])|join(', ') }}

Owned-only: {{ 'On' if owned_only else 'Off' }}
Prefer-owned: {{ 'On' if prefer_owned else 'Off' }}
Manage Owned Library

Bracket: {{ bracket }}

{% if i and n %} Stage {{ i }}/{{ n }} {% endif %} {% set deck_count = (total_cards if total_cards is not none else 0) %} Deck {{ deck_count }}/100 {% if added_total is not none %} Added {{ added_total }} {% endif %}
{% set pct = ((deck_count / 100.0) * 100.0) if deck_count else 0 %} {% set pct_clamped = (pct if pct <= 100 else 100) %} {% set pct_int = pct_clamped|int %}
{% if status %}
Status: {{ status }}{% if stage_label %} — {{ stage_label }}{% endif %}
{% endif %}
Visible: 0
All Owned Not owned Clear
{% if added_cards is not none %}

Cards added this stage

{% if skipped and (not added_cards or added_cards|length == 0) %}
No cards added in this stage.
{% endif %}
Owned Not owned
{% if stage_label and stage_label.startswith('Creatures') %} {% set groups = added_cards|groupby('sub_role') %} {% for g in groups %} {% set role = g.grouper %} {% if role %} {% set heading = 'Theme: ' + role.title() %} {% else %} {% set heading = 'Additional Picks' %} {% endif %}
{{ heading }}
({{ g.list|length }})
{% for c in g.list %} {% set owned = (owned_set is defined and c.name and (c.name|lower in owned_set)) %}
{{ c.name }} image
{% if owned %}✔{% else %}✖{% endif %}
{{ c.name }}{% if c.count and c.count > 1 %} ×{{ c.count }}{% endif %}
{% if c.reason %}
{{ c.reason }}
{% endif %}
{% endfor %}
{% endfor %} {% else %}
{% for c in added_cards %} {% set owned = (owned_set is defined and c.name and (c.name|lower in owned_set)) %}
{{ c.name }} image
{% if owned %}✔{% else %}✖{% endif %}
{{ c.name }}{% if c.count and c.count > 1 %} ×{{ c.count }}{% endif %}
{% if c.reason %}
{{ c.reason }}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% if show_logs and log %}
Show logs
{{ log }}
{% endif %} {% if status and status.startswith('Build complete') %} {% if summary %} {% include "partials/deck_summary.html" %} {% endif %} {% endif %}