<%inherit file="base.mako"/> <%block name="title"> Leaderboard <%block name="css"> ${parent.css()} <%block name="hero_unit">
% if summary_stats is None:

Tracking Xonotic statistics since October 2011.

% else:

Tracking ${summary_stats.total_players} players, ${summary_stats.total_games} games (${summary_stats.duel_games} duel, ${summary_stats.ctf_games} ctf, ${summary_stats.dm_games} dm), and ${summary_stats.total_servers} servers since October 2011.

% endif
##### DUEL RANKS #####

Duel Ranks

<% i = 1 %> % for (player_id, nick, elo) in duel_ranks: % if player_id != '-': % else: % endif % if elo != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Elo
${i}${nick|n}${nick|n}${round(elo, 3)}${elo}

More...

##### CTF RANKS #####

CTF Ranks

<% i = 1 %> % for (player_id, nick, elo) in ctf_ranks: % if player_id != '-': % else: % endif % if elo != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Elo
${i}${nick|n}${nick|n}${round(elo, 3)}${elo}

More...

##### DM RANKS #####

DM Ranks

<% i = 1 %> % for (player_id, nick, elo) in dm_ranks: % if player_id != '-': % else: % endif % if elo != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Elo
${i}${nick|n}${nick|n}${round(elo, 3)}${elo}

More...

Most Active Players

<% i = 1 %> % for (player_id, nick, alivetime) in top_players: % if player_id != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Play Time
${i}${nick|n}${nick|n}${alivetime}

*Most active stats are from the past 7 days

Most Active Servers

<% i = 1 %> % for (server_id, name, count) in top_servers: % if server_id != '-': % else: % endif <% i = i+1 %> % endfor
# Server Games
${i}${name}${name}${count}

Most Active Maps

<% i = 1 %> % for (map_id, name, count) in top_maps: % if map_id != '-': % else: % endif <% i = i+1 %> % endfor
# Map Games
${i}${name}${name}${count}
% if len(recent_games) > 0:

Recent Games

% for rg in recent_games: % else: ${rg.nick_html_colors|n} % endif % endfor
Type Server Map Time Winner
view ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} % if rg.player_id > 2: ${rg.nick_html_colors|n}
% endif