Content deleted Content added
MusikBot II (talk | contribs) m Protected "Module:NBA team standings": High-risk template or module: 554 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
Changed: – → – for home & road records to prevent line breaks |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 44:
local function winpct(w, l)
local pct = '–'
if (w + l) > 0 then
end
return
end
Line 66 ⟶ 67:
local division = args['division']:lower()
-- division leader record
local dloffset = 8*((tonumber(args[division .. 'leader']) or 1) - 1)
local dlhw = tonumber(args[dloffset + 3])
local dlhl = tonumber(args[dloffset + 4])
Line 124 ⟶ 125:
row:tag('td'):wikitext(gbformat(hw, hl, rw, rl, dlhw, dlhl, dlrw, dlrl))
-- home record
row:tag('td'):wikitext(hw .. '
-- road record
row:tag('td'):wikitext(rw .. '
-- div record
row:tag('td'):wikitext(divrecord)
|