| Rank | Participant | Individual Tournament Scores |
{% if league.league_finished %}
Final Score (Best 5) {% else %} Current (Best 5) {% endif %} |
{% if not league.league_finished %}
Live T{{ league.current_tournament }} |
{% endif %}
|||||
|---|---|---|---|---|---|---|---|---|---|
| T1 | T2 | T3 | T4 | T5 | T6 | ||||
| {{ participant.rank }} {% if participant.rank == 1 %}🏆 {% elif participant.rank == 2 %}🥈 {% elif participant.rank == 3 %}🥉 {% endif %} |
{{ participant.name }}
{{ participant.id }}
|
{% for tournament_num in range(1, 7) %}
{% set found_result = false %} {% for result in participant.tournament_results %} {% if result.tournament == tournament_num %} {% set found_result = true %} {% if result.get('joker') or not result.participated %} 🃏 {% else %} {% set all_scores = [] %} {% for r in participant.tournament_results if r.participated %} {% set _ = all_scores.append(r.score) %} {% endfor %} {% set sorted_scores = all_scores|sort(reverse=true) %} {% set excluded_score = sorted_scores[-1] if sorted_scores|length > 5 else none %} {% if all_scores|length > 5 and result.score == excluded_score %} {{ result.score }} {% else %} {{ result.score }} {% endif %} {% endif %} {% endif %} {% endfor %} {% if not found_result %} - {% endif %} | {% endfor %}{% if league.league_finished %} {{ participant.final_score }} {% else %} {{ participant.current_total }} {% endif %} | {% if not league.league_finished %}{% if participant.current_tournament_participating %} {{ participant.current_tournament_score }} {% else %} - {% endif %} | {% endif %}|||||