Module:Sports table: Difference between revisions

Content deleted Content added
Force numbers as strings
Some leading spaces
Line 51:
-- Now build the rows
table.insert(t,'|-\n') -- New row
table.insert(t,'! scope="row" style="text-align: center; background-color: transparent"| '..ii..'\n') -- Position number
table.insert(t,'| style="text-align: left; white-space:nowrap"| '..Args[team_list[ii]]..'\n') -- Team
table.insert(t,'| '..tostring(games)..'\n') -- Played
table.insert(t,'| '..tostring(wins)..'\n') -- Won
table.insert(t,'| '..tostring(draws)..'\n') -- Drawn
table.insert(t,'| '..tostring(losses)..'\n') -- Lost
table.insert(t,'| '..tostring(gfor)..'\n') -- GF
table.insert(t,'| '..tostring(gaig)..'\n') -- GA
table.insert(t,'| '..tostring(gdiff)..'\n') -- GD
table.insert(t,'| style="font-weight: bold;" | '..tostring(points)..'\n') -- Points
end