<%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> <%namespace file="accuracy.mako" import="accuracy" /> <%block name="navigation"> ${nav.nav('players')} <%block name="js"> % if player is not None: % endif <%block name="title"> Player Information % if player is None:

This player is so good we couldn't find him!

Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!

% else:

${player.nick_html_colors()|n}

% for g in games_played:
% if g.game_type_cd in overall_stats: Last Played: ${overall_stats[g.game_type_cd].last_played}
% endif Games Played: ${g.games}
% if g.game_type_cd in fav_maps: Favorite Map: ${fav_maps[g.game_type_cd].map_name}
% endif Win Percentage: ${round(g.win_pct,2)}% (${g.wins} wins, ${g.losses} losses)
% if g.game_type_cd in overall_stats: Kill Ratio: ${round(overall_stats[g.game_type_cd].k_d_ratio,2)} (${overall_stats[g.game_type_cd].total_kills} kills, ${overall_stats[g.game_type_cd].total_deaths} deaths)
% endif % if g.game_type_cd in elos: Elo: ${round(elos[g.game_type_cd].elo,2)} (${elos[g.game_type_cd].games} games)
% endif % if g.game_type_cd in ranks: Rank: ${ranks[g.game_type_cd].rank} of ${ranks[g.game_type_cd].max_rank}
% endif
% endfor
% if 'nex' in recent_weapons or 'rifle' in recent_weapons or 'minstanex' in recent_weapons or 'uzi' in recent_weapons or 'shotgun' in recent_weapons:

Accuracy

    % if 'nex' in recent_weapons:
  • Nex

  • % endif % if 'rifle' in recent_weapons:
  • Rifle

  • % endif % if 'minstanex' in recent_weapons:
  • Minstanex

  • % endif % if 'uzi' in recent_weapons:
  • Uzi

  • % endif % if 'shotgun' in recent_weapons:
  • Shotgun

  • % endif
% endif % if 'rocketlauncher' in recent_weapons or 'grenadelauncher' in recent_weapons or 'electro' in recent_weapons or 'crylink' in recent_weapons or 'laser' in recent_weapons:

Damage Efficiency

    % if 'rocketlauncher' in recent_weapons:
  • Rocket

  • % endif % if 'grenadelauncher' in recent_weapons:
  • Mortar

  • % endif % if 'electro' in recent_weapons:
  • Electro

  • % endif % if 'crylink' in recent_weapons:
  • Crylink

  • % endif % if 'hagar' in recent_weapons:
  • Hagar

  • % endif % if 'laser' in recent_weapons:
  • Laser

  • % endif
% endif ##### RECENT GAMES (v2) #### % if recent_games:

Recent Games

% for (gamestat, game, server, map) in recent_games: % endfor
Type Server Map Result Played
view ${game.game_type_cd} ${server.name} ${map.name} % if gamestat.team != None: % if gamestat.team == game.winner: Win % else: Loss % endif % else: % if gamestat.rank == 1: Win % else: Loss (#${gamestat.rank}) % endif % endif ${game.fuzzy_date()}
% if total_games > 10: More games played by ${player.nick_html_colors()|n}... % endif
% endif % endif