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

From blackwiki
Jump to navigation Jump to search
blackwiki>Isaacl
(fix incorrect variable name)
blackwiki>Isaacl
(add abbreviation for Central divisions)
Line 2: Line 2:
  
 
MlbStandingsData.abbreviationForDivision = {
 
MlbStandingsData.abbreviationForDivision = {
 +
    ['American League Central'] = 'AL Central',
 
     ['American League East'] = 'AL East',
 
     ['American League East'] = 'AL East',
 
     ['American League West'] = 'AL West',
 
     ['American League West'] = 'AL West',
 +
    ['National League Central'] = 'NL Central',
 
     ['National League East'] = 'NL East',
 
     ['National League East'] = 'NL East',
 
     ['National League West'] = 'NL West',
 
     ['National League West'] = 'NL West',

Revision as of 02:40, 5 April 2013

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