🏆 League Championship
Final Results - Best 5 of 6 Tournaments
{% if league.tournament_type == '40_targets' %} 40 Targets Format {% else %} 20 Targets Format {% endif %}
{{ participants|length if participants else 0 }}
Participants
{{ league.total_tournaments }}
Tournaments
{% if participants and participants|length > 0 %}{{ participants[0].final_score }}{% else %}0{% endif %}
Highest Score
{{ league.finished_at[:10] if league.finished_at else 'Today' }}
Completed
{% if participants and participants|length > 0 %}
🎉 League Complete!
Congratulations to {{ participants[0].name }} for winning the league!
{% for participant in participants %}
{{ participant.rank }}
{% if participant.rank == 1 %}st {% elif participant.rank == 2 %}nd {% elif participant.rank == 3 %}rd {% else %}th {% endif %}
{% if participant.rank == 1 %}
🥇
{% elif participant.rank == 2 %}
🥈
{% elif participant.rank == 3 %}
🥉
{% endif %}
{{ participant.name }}
ID: {{ participant.id }}
{{ participant.final_score }}
Total: {{ participant.total_score }}
Final Score
{% endfor %}
{% set max_breakdowns = 3 %} {% if participants|length < 3 %} {% set max_breakdowns = participants|length %} {% endif %} {% for i in range(max_breakdowns) %} {% set participant = participants[i] %}
{% if participant.rank == 1 %}🥇{% elif participant.rank == 2 %}🥈{% elif participant.rank == 3 %}🥉{% endif %} {{ participant.name }}'s Tournament History
{% for tournament_num in range(1, 7) %} {% set result = participant.tournament_results | selectattr("tournament", "equalto", tournament_num) | list | first %} {% if result %} {% if (result.joker is defined and result.joker) or (result.participated is defined and not result.participated) %}
T{{ tournament_num }}
🃏 Joker
{% else %} {% set all_participated_scores = participant.tournament_results | selectattr("participated", "defined") | selectattr("participated") | selectattr("score", "defined") | map(attribute="score") | list %} {% set sorted_scores = all_participated_scores | sort(reverse=true) %} {% set is_excluded = sorted_scores | length > 5 and result.score == sorted_scores[-1] %} {% if is_excluded %}
T{{ tournament_num }}
{{ result.score }} ❌
{% else %}
T{{ tournament_num }}
{{ result.score }} ✅
{% endif %} {% endif %} {% else %}
T{{ tournament_num }}
-
{% endif %} {% endfor %}
{% endfor %}
📖 How Final Scores Are Calculated
🏆 League Rule: Best 5 out of 6 tournaments count toward final ranking
🃏 Joker System: Each player can skip 1 tournament without penalty
Counted toward final score
Excluded (worst score)
🃏 Joker used (skipped)
{% else %}

No League Results Available

League results will appear here when the league is complete.

{% endif %}