% import os jerseyFile = 'jerseys/%s.png' % player.keyname.replace(' ','_') hasJerseyFile = os.path.exists( 'config/' + jerseyFile ) %>
Date | GP | %if player.position != 'g':G | A | P | PPG | +/- | %else:GAA | Sv% | P | %endif %endif %for monthName,sortName,season,stats in splits:||
${monthName} | %if prefix != 'plain':${sortName} | ${season} | %endif${stats['gamesplayed']} | %if player.position != 'g':${stats['goals']} | ${stats['assists']} | ${stats['points']} | ${"%.2f" % util.CalcPPG(stats['points'],stats['gamesplayed'])} | ${stats['plusminus']} | %else :${"%.2f" % util.CalcGAA(stats['shots'],stats['saves'],stats['minutes'])} | ${"%.3f" % util.CalcSavePercent(stats['saves'],stats['shots'])} | ${stats['points']} | %endif