Content deleted Content added
option for Template:WDL style win percentage |
typo |
||
Line 32:
if ranking_style=='w' or ranking_style=='win' or ranking_style=='wins' or ranking_style=='none' then
-- Based on wins
elseif ranking_style=='wperc' or ranking_style=='win percentage' or ranking_style=='
show_wperc = true
elseif ranking_style=='perc' or ranking_style=='percentage' or ranking_style=='%' then
Line 281:
local win_perc = mm._precision_format((2*wins + draws) / (2*matches), 3)
local ppg = mm._precision_format(points / matches, 2)
if ranking_style=='wperc' or ranking_style=='win percentage' or ranking_style=='
win_perc = mm._precision_format(100 * wins / matches, 1)
end
|