]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/submit_stats.mako
Add ranks to the post-match template.
[xonotic/xonstat.git] / xonstat / templates / submit_stats.mako
1 V 1
2 R XonStat/1.0
3 T ${now}
4 S ${server.server_id}
5 G ${game.game_id}
6 M ${gmap.map_id}
7 % for player_id in player_ids:
8 P ${hashkeys[player_id]}
9 i ${player_id}
10 % if player_id in elos:
11 e elo ${elos[player_id].elo.elo}
12 e elo_delta ${elos[player_id].elo_delta}
13 e elo_games ${elos[player_id].elo.games}
14 % endif
15 % if player_id in ranks:
16 e rank ${ranks[player_id].rank}
17 % endif
18 % endfor