{% macro short_score(value) -%}{% if value >= 1000000 %}{{ "{:.2f}".format(value / 1000000) }}M{% elif value >= 1000 %}{{ "{:.1f}".format(value / 1000) }}K{% else %}{{ value }}{% endif %}{%- endmacro %} {% macro player_name(player, subtitle='') -%}
{{ player.name }}{% if subtitle %}{{ subtitle }}{% endif %}
{%- endmacro %} {% if team_type == 'team-vs' %}
RED SIDE

{{ red_name }}

{{ red_wins }} : {{ blue_wins }}FINAL SCORE
BLUE SIDE

{{ blue_name }}

MATCH MVP

{{ mvp.name }}

{{ red_name if mvp.team == 'red' else blue_name }} · {{ mvp.wins }}W—{{ mvp.losses }}L
评分{{ "{:.2f}".format(mvp.rating) }}
总分{{ short_score(mvp.total_score) }}
胜率{{ "{:.1%}".format(mvp.win_rate) }}
{% for side, side_name, side_players in [('red', red_name, red_players), ('blue', blue_name, blue_players)] %}
{{ side_name }} · PLAYER RATING
{% for player in side_players %}
{{ player_name(player, player.record_text) }}
{{ short_score(player.total_score) }}总分
{{ "{:.2f}".format(player.rating) }}
{% endfor %}
{% endfor %}
{% else %}
HEAD-TO-HEAD PERFORMANCE INDEX

个人混战评分 / {{ title }}

MP {{ match_id }}
{{ game_count }} 局 · {{ player_count }} 名选手 · HEAD TO HEAD
本场 MVP{{ mvp.name }}
最高 RATING{{ "{:.2f}".format(mvp.rating) }}
最多 TOP 1{{ max_top1_count }} 次
最高总分{{ short_score(max_total_score) }}
平均评分{{ "{:.2f}".format(average_rating) }}
排名选手总分 / 均分TOP 1 / 出场TOP 1 率评分
{% for player in players %}
#{{ loop.index }}{{ player_name(player) }}
{{ short_score(player.total_score) }}均分 {{ "{:,.0f}".format(player.average_score) }}
{{ player.top1_count }} / {{ player.played }}第一名 / 出场
{{ "{:.1%}".format(player.top1_rate) }}TOP 1 RATE
{{ "{:.2f}".format(player.rating) }}
{% endfor %}
{% endif %}