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 splitsplit1 = tonumber(args['split']) or 8
local split2 = tonumber(args['split2']) or 0
-- start the table
local root = mw.html.create('table')
Line 207 ⟶ 208:
-- played
row:tag('td'):wikitext(hw + hl + rw + rl)
if pos == split or pos == split2 then
root:tag('tr'):css('background-color', splitcolor):tag('td'):attr('colspan', 7)
end