Module:NBA team standings: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 19:
 
local function get_division(division)
if division then
division = division:sub(1,1):upper() .. s:sub(2,-1) -- ucfirst
return '[[' .. division .. ' Division (NBA)|' .. division .. ' Division]]'
else
return nil
end
end
 
local function get_conference(conference)
if conference then
conference = conference:sub(1,1):upper() .. s:sub(2,-1) -- ucfirst
return '[[' .. conference .. 'ern Conference (NBA)|' .. conference .. 'ern Converence]]'
else
return nil
end
end