{% extends "_base.html" %} {% block title %}{{ deck.name }} — mtgacoach{% endblock %} {% block description %}{{ deck.format | title }} deck by {{ deck.author_name or 'Coach Player' }} on mtgacoach.com.{% endblock %} {% block head %} {% endblock %} {% block nav %} Home Leaderboard Profile {% if discord_invite_url %}Discord{% endif %} {% endblock %} {% block content %}

{{ deck.format | title }} {% if deck.archetype %}· {{ deck.archetype }}{% endif %}

{{ deck.name }}

{% if not is_source and canonical and canonical.canonical_name %}

{% if deck.is_nicknamed %} Canonical name: {{ canonical.canonical_name }} {% if canonical.creator_profile_url %} by {{ canonical.creator_handle }} {% elif canonical.creator_handle %} by {{ canonical.creator_handle }} {% endif %} · Nickname {% elif canonical.is_canonical_owner %} Canonical Owner {{ canonical.canonical_name }} {% else %} Canonical name: {{ canonical.canonical_name }} {% endif %}

{% endif %}

{% if is_source %} Sourced from {{ deck.author_name or "Meta" }} {% elif author_profile_url %} Shared by {{ deck.author_name }} {% else %} Shared by {{ deck.author_name }} {% endif %} {% if deck.author_is_patron %}Patron{% endif %} {% if performance.community and performance.community.all_time.games > 0 %} · All pilots: {{ (performance.community.all_time.win_rate * 100) | round(1) }}% ({{ performance.community.all_time.wins }}W-{{ performance.community.all_time.losses }}L across {{ performance.community.pilots }} {{ 'pilot' if performance.community.pilots == 1 else 'pilots' }}) {% elif performance.all_time.games > 0 %} · {{ (performance.all_time.win_rate * 100) | round(1) }}% ({{ performance.all_time.wins }}W-{{ performance.all_time.losses }}L) {% elif deck.games > 0 %} · {{ (deck.win_rate * 100) | round(1) }}% ({{ deck.wins }}W-{{ deck.losses }}L) {% endif %}

{% if signed_in %} {% if is_owner %} {% else %} {% endif %} {% else %} Sign in to add & sync to Coach {% endif %}
{% if performance.community and performance.community.all_time.games > 0 %}

All Pilots Using This Deck ({{ performance.community.pilots }} {{ 'pilot' if performance.community.pilots == 1 else 'pilots' }} · {{ performance.community.copies }} {{ 'copy' if performance.community.copies == 1 else 'copies' }})

Fleet All-Time {{ (performance.community.all_time.win_rate * 100) | round(1) }}% ({{ performance.community.all_time.wins }}W-{{ performance.community.all_time.losses }}L)
Fleet Last 30 Days {% if performance.community.last_30d.games %} {{ (performance.community.last_30d.win_rate * 100) | round(1) }}% ({{ performance.community.last_30d.wins }}W-{{ performance.community.last_30d.losses }}L) {% else %} — {% endif %}
Fleet AP vs Manual {% if performance.community.autopilot.games %} AP {{ (performance.community.autopilot.win_rate * 100) | round(0) | int }}% ({{ performance.community.autopilot.wins }}-{{ performance.community.autopilot.losses }}) {% elif performance.community.manual.games %} Manual {{ (performance.community.manual.win_rate * 100) | round(0) | int }}% ({{ performance.community.manual.wins }}-{{ performance.community.manual.losses }}) {% else %} — {% endif %}
Fleet Avg Turns {% if performance.community.avg_turns %}{{ performance.community.avg_turns }}t{% else %}—{% endif %}
{% if performance.community.matchups %}
Fleet Matchups by Opponent Colors: {% for m in performance.community.matchups %} {{ m.colors }} {{ (m.win_rate * 100) | round(0) | int }}% ({{ m.wins }}-{{ m.losses }}) {% endfor %}
{% endif %} {% endif %} {% if performance.all_time.games > 0 %} {% if not is_source and performance.community and performance.community.all_time.games > performance.all_time.games %}

This Pilot's Record ({{ deck.author_name }})

{% endif %}
{% if is_source %}Fleet Record{% else %}Overall Record{% endif %} {{ (performance.all_time.win_rate * 100) | round(1) }}% ({{ performance.all_time.wins }}W-{{ performance.all_time.losses }}L)
Last 30 Days {% if performance.last_30d.games %} {{ (performance.last_30d.win_rate * 100) | round(1) }}% ({{ performance.last_30d.wins }}W-{{ performance.last_30d.losses }}L) {% else %} — {% endif %}
Autopilot vs Manual {% if performance.autopilot.games %} AP {{ (performance.autopilot.win_rate * 100) | round(0) | int }}% ({{ performance.autopilot.wins }}-{{ performance.autopilot.losses }}) {% elif performance.manual.games %} Manual {{ (performance.manual.win_rate * 100) | round(0) | int }}% ({{ performance.manual.wins }}-{{ performance.manual.losses }}) {% else %} — {% endif %}
Avg Turns / Streak {% if performance.avg_turns %}{{ performance.avg_turns }}t{% else %}—{% endif %} {% if performance.streak %} · {{ performance.streak }}{% endif %}
{% endif %} {% if performance.matchups %}
Matchups by Opponent Colors: {% for m in performance.matchups %} {{ m.colors }} {{ (m.win_rate * 100) | round(0) | int }}% ({{ m.wins }}-{{ m.losses }}) {% endfor %}
{% endif %} {% if deck.craftability is defined %}
{% if deck.craftability.owned %} You own every card in this deck! (0 wildcards needed) {% elif deck.craftability.affordable %} Buildable with your wildcards: {{ deck.craftability.spend.common }}C · {{ deck.craftability.spend.uncommon }}U · {{ deck.craftability.spend.rare }}R · {{ deck.craftability.spend.mythic }}M {% else %} Missing {{ deck.craftability.missing_total }} cards (short {{ deck.craftability.extra_wildcards_needed }} wildcards beyond your synced balance) {% endif %}
{% endif %} {% if deck.description %}

{{ deck.description }}

{% endif %}
{% if deck.commander %}

Commander

    {% for card in deck.commander %}
  • {{ card.count }} × {{ card.name }}{{ card.rarity }}
  • {% endfor %}
{% endif %}

Main Deck ({{ deck.main | sum(attribute='count') }})

    {% for card in deck.main %}
  • {{ card.count }} × {{ card.name }}{{ card.rarity }}
  • {% endfor %}
{% if deck.sideboard %}

Sideboard ({{ deck.sideboard | sum(attribute='count') }})

    {% for card in deck.sideboard %}
  • {{ card.count }} × {{ card.name }}{{ card.rarity }}
  • {% endfor %}
{% endif %}
{% if performance.recent_matches %}

Recent Matches

{% for m in performance.recent_matches %} {% endfor %}
Result Format Mode Turns Played Replay
{% if m.replay_url %} {{ m.result | upper }} {% else %} {{ m.result | upper }} {% endif %} {{ m.format_name or "—" }} {% if m.autopilot is true %}Autopilot{% elif m.autopilot is false %}Manual{% else %}—{% endif %} {{ m.turns if m.turns else "—" }} {{ m.played_label }} {% if m.replay_url %} ▶ Watch {% else %} — {% endif %}
{% endif %} {% if signed_in and is_owner %} {% include "_rename_deck_dialog.html" %} {% endif %}
{% endblock %}