Module:MLB standings: Difference between revisions

Content deleted Content added
m table width
add support for single wild card team in text for table header
Line 88:
 
wildCard = function(tableHeaderInfo)
local numberOfTeamsText = 'team qualifies'
if tableHeaderInfo.wildCardsPerLeague > 1 then
numberOfTeamsText = tableHeaderInfo.wildCardsPerLeague .. ' teams qualify'
end
return
'{| class="wikitable" width="390em" style="text-align:center;"\
! width="60%" | ' .. tableHeaderInfo.navbarText .. 'Wild Card teams<br><small>(Top ' .. tableHeaderInfo.wildCardsPerLeaguenumberOfTeamsText ..
' teams qualify for postseason)</small>\
! width="8%" | [[Win (baseball)|W]]\
! width="8%" | [[Loss (baseball)|L]]\