Module:Sports table/WDL: Difference between revisions

Content deleted Content added
add optional use_point_for_average for Basketball at the 2018 Summer Youth Olympics – Boys' tournament and others
change to use_point_per_match
Line 101:
local do_percentage = yesno(Args['use_goal_percentage'] or Args['use_point_percentage'] or 'no')
local do_point_for_avg = yesno(Args['use_point_for_averageuse_goal_per_match'] or Args['use_point_per_match'] or 'no')
-- Whether to suppress the GR/GA/G% column entirely
Line 294:
gcomp = mm._precision_format(100 * gfor / (gfor + gaig) , 2)
end
elseif yesno(Args['use_point_for_averageuse_goal_per_match'] or Args['use_point_per_match'] or 'no') then
-- Now it is the point for average
if (gfor == '?') or matches <= 0 then