Difference between revisions of "Module:MLB standings/data"

From blackwiki
Jump to navigation Jump to search
blackwiki>Isaacl
(create abbreviation mapping table)
 
m (6 revisions imported)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
local MlbStandingsData = { }
 
local MlbStandingsData = { }
  
MLBStandingsData.abbreviationForLeague = {
+
MlbStandingsData.abbreviationForDivision = {
     ['American League'] = 'AL',
+
     ['American League Central'] = 'AL Central',
     ['National League'] = 'NL',
+
    ['American League East'] = 'AL East',
 +
    ['American League West'] = 'AL West',
 +
    ['National League Central'] = 'NL Central',
 +
    ['National League East'] = 'NL East',
 +
     ['National League West'] = 'NL West',
 
}
 
}
  
 
return MlbStandingsData
 
return MlbStandingsData

Latest revision as of 07:51, 27 September 2020

Documentation for this module may be created at Module:MLB standings/data/doc

local MlbStandingsData = { }

MlbStandingsData.abbreviationForDivision = {
    ['American League Central'] = 'AL Central',
    ['American League East'] = 'AL East',
    ['American League West'] = 'AL West',
    ['National League Central'] = 'NL Central',
    ['National League East'] = 'NL East',
    ['National League West'] = 'NL West',
}

return MlbStandingsData