Content deleted Content added
flip test to improve readability (more evident that year must be within the specified range) |
synching sandbox with Module:MLB standings; please see that page's history for attribution |
||
Line 68:
winLossOnly = function(tableHeaderInfo)
return
'{| class="wikitable" width="
! width="66%" | ' .. tableHeaderInfo.navbarText .. tableHeaderInfo.division .. '\
! width="10%" | [[Win (baseball)|W]]\
Line 78:
wildCard2012 = function(tableHeaderInfo)
return
'{| class="wikitable" width="
! width="60%" | ' .. tableHeaderInfo.navbarText .. 'Wild Card teams<br><small>(Top
! width="8%" | [[Win (baseball)|W]]\
! width="8%" | [[Loss (baseball)|L]]\
Line 88:
wildCard = function(tableHeaderInfo)
local teamText = 'team'
local numberOfTeamsText = 'team qualifies'
if tableHeaderInfo.wildCardsPerLeague > 1 then
teamText = 'teams'
numberOfTeamsText = tableHeaderInfo.wildCardsPerLeague .. ' teams qualify'
end
return
'{| class="wikitable" width="
! width="60%" | ' .. tableHeaderInfo.navbarText .. 'Wild Card
'
! width="8%" | [[Win (baseball)|W]]\
! width="8%" | [[Loss (baseball)|L]]\
|