Content deleted Content added
bug |
align |
||
Line 293:
win_perc = '—'
else
win_perc = mm._precision_format(100 * wins / matches,
end
end
Line 387:
-- What to rank the teams by
local rank_points, rank_perc, rank_perc, rank_ppg = false, false, false
local win_fw, win_string
Line 401:
elseif ranking_style=='wperc' or ranking_style=='win percentage' or ranking_style=='%w' then
-- Based on percentage
win_fw=ii_fw
win_string = ''
Line 449:
if rank_perc then
table.insert(t,'| style="font-weight: bold;'..bg_col..'" | '..win_perc..hth_string..'\n')
elseif rank_wperc then
table.insert(t,'| style="font-weight: bold;text-align:right;'..bg_col..'" | '..win_perc..hth_string..'\n')
end
if rank_ppg then
|