{% extends 'trosnoth/base.html' %} {% load static %} {% block head %} {{ settings.serverName }} :: Match Report {% endblock %} {% block main %}

{{ settings.serverName }}

Match Report

{% if game.winningTeam == "A" %}
{{ game.blueTeamName }} won
{% elif game.winningTeam == "B" %}
{{ game.redTeamName }} won
{% elif winning_players %}
Winner{{ winning_players|length|pluralize }}: {% for p in winning_players %} {{ p.nick }} {% endfor %}
{% else %}
Game was drawn
{% endif %} {{ game.started }}
{% if game.scenario %}Scenario: {{ game.scenario }}
{% endif %} {% if scenario_completed != None %}Completed: {{scenario_completed}}
{% endif %} Map size: {{ game.zoneCount }} zone{{ game.zoneCount|pluralize }}
{% if match_stats %} {% for stat_name, stat_value in match_stats %} {{ stat_name }}: {{ stat_value }}
{% endfor %} {% else %}} Duration: {{ game.gameSeconds|stringformat:".2f" }} second{{ game.gameSeconds|pluralize }}
{% endif %} Blue team: {{ game.blueTeamName }}
Red team: {{ game.redTeamName }}
Version: {{ game.serverVersion }}
{% if tournamentPoints %} Tournament points: {{ tournamentPoints }}
{% endif %} {% if game.replayName %} Download replay {% endif %}
{% if team_stat_titles %} {% for stat_name in team_stat_titles %} {% endfor %} {% for team_name, team_colour, stat_data in team_stats %} {% for val, formatted_val, is_best in stat_data %} {% endfor %} {% endfor %}
{{ stat_name }}
{{ team_name }}{{ formatted_val }}
{% endif %} {% if player_stat_titles %} {% for stat_name in player_stat_titles %} {% endfor %} {% for p in player_stats %} {% for val, formatted_val, is_best in p.stats %} {% endfor %} {% endfor %}
{{ stat_name }}
{% if p.player.user %} {{ p.nick }} {% else %} {{ p.nick }} {% endif %} {{ formatted_val }}
{% endif %} {% if scoreboard %}

Leader Board

{% for row in scoreboard %} {% endfor %}
{{ row.1 }}{{ row.0|floatformat }}
{% endif %} {% if playerData %}

Player Statistics

General OverviewCoins and TimeKills and Caps {% endif %}
{% if playerData %} {% for row in playerData %} {% endfor %}
# Nick Kills Deaths KDR Zone Caps Shots Fired* Shots Hit* Accuracy Coins Used Killed the most: Died the most to: Points
{{ row.rank }} {% if row.player.user.nick %} {{ row.nick }} {% else %} {{ row.nick }} {% endif %} {{ row.player.kills }} kill{{ row.player.kills|pluralize }} {{ row.player.deaths }} death{{ row.player.deaths|pluralize }} {{ row.kdr }} {{ row.player.zoneTags }} cap{{ row.player.zoneTags|pluralize }} {{ row.player.shotsFired }} shot{{ row.player.shotsFired|pluralize }} {{ row.player.shotsHit }} shot{{ row.player.shotsHit|pluralize }} {{ row.accuracy|stringformat:".1f" }}% {{ row.player.coinsUsed }} coin{{ row.player.coinsUsed|pluralize }} {{ row.maxKill }} {{ row.maxDeath }} {{ row.score|stringformat:".1f" }}
*Shots fired and shots hit do not include shoxwave.

{% endif %} {% if killTable %}

Player Kills

{% for row in killTable %} {% endfor %} {% for row in killTable %} {% for value in row.entries %} {% endfor %} {% endfor %} {% if otherKills %} {% for value in otherKills %} {% endfor %} {% endif %}
Killer Killed
{% if row.player.user.nick %} {{ row.nick }} {% else %} {{ row.nick }} {% endif %}
{% if row.player.user.nick %} {{ row.nick }} {% else %} {{ row.nick }} {% endif %} {{ value }}
[Other]{{ value }}

{% endif %} {% if upgradeTable %}

Upgrade Use

{% for upgradeKind in upgrades %} {% endfor %} {% for row in upgradeTable %} {% for value in row.entries %} {% endfor %} {% endfor %}
Player Upgrade
{{ upgradeKind }}
{% if row.player.user.nick %} {{ row.nick }} {% else %} {{ row.nick }} {% endif %} {{ value }}

{% endif %} {% endblock %}