Module:Sports table/WDL: Difference between revisions

Content deleted Content added
allow override of total matches if win_, draw_, or loss_ is not a number
No edit summary
Line 214:
if tonumber(Args['win_'..team_code_ii]) == nil or tonumber(Args['draw_'..team_code_ii]) == nil or tonumber(Args['loss_'..team_code_ii]) == nil then
matches = tonumber(Args['matches_'..team_code_ii]) or 0matches
end