Module:Sports table/Badminton team: Difference between revisions

Content deleted Content added
fix nan
update from sandbox (support for game_for_against_style and point_for_against_style in rows)
Line 372:
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..maig..'\n') -- MA
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..mcomp..'\n') -- Match comparison
if Args['game_for_against_style'] ~= 'none' then
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..gfor..'\n') -- GF
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..gaiggfor..'\n') -- GAGF
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..gcompgaig..'\n') -- Game comparisonGA
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..pforgcomp..'\n') -- PFGame comparison
end
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..paig..'\n') -- PA
if Args['point_for_against_style'] ~= 'none' then
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..pcomp..'\n') -- Point comparison
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..gforpfor..'\n') -- GFPF
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..paig..'\n') -- PA
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..pcomp..'\n') -- Point comparison
end
end