Module:NBA team standings: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 144:
local clrw = tonumber(args[cloffset + 5])
local clrl = tonumber(args[cloffset + 6])
local split1 = tonumber(args['split']) or 8
local split2 = tonumber(args['split2']) or 0
-- start the table
local root = mw.html.create('table')
Line 208 ⟶ 206:
-- played
row:tag('td'):wikitext(hw + hl + rw + rl)
if pos == args['split' or.. pos == split2] then
root:tag('tr'):css('background-color', splitcolor):tag('td'):attr('colspan', 7)
end