Module:Sports table/totalscheck: Difference between revisions

Content deleted Content added
exclude total row from totals
No edit summary
Line 13:
-- First get code
local team_code_ii = team_list[ii]
if team_codeteam_code_ii ~= 'SPORTS_TABLE_TOTAL' then
-- Now tabulate values
wtotal = wtotal + (tonumber(Args['win_'..team_code_ii]) or 0)