Module:MLB standings: Difference between revisions

Content deleted Content added
add support for "wildCard" value for "output" parameter
flip test to improve readability (more evident that year must be within the specified range)
Line 191:
end
for idx, wildCardInfo in ipairs(mlbData.wildCardInfo) do
if wildCardInfo.startYear <= year and wildCardInfo.endYearyear ><= yearwildCardInfo.endYear then
return wildCardInfo.wildCardsPerLeague;
end