Difference between revisions of "Module:MLB standings/data"
Jump to navigation
Jump to search
blackwiki>Isaacl (create abbreviation mapping table) |
blackwiki>Isaacl (change abbreviation mapping; map division names to abbreviations) |
||
| Line 1: | Line 1: | ||
local MlbStandingsData = { } | local MlbStandingsData = { } | ||
| − | MLBStandingsData. | + | MLBStandingsData.abbreviationForDivision = { |
| − | ['American League'] = 'AL', | + | ['American League East'] = 'AL East', |
| − | ['National League'] = 'NL', | + | ['American League West'] = 'AL West', |
| + | ['National League East'] = 'NL East', | ||
| + | ['National League West'] = 'NL West', | ||
} | } | ||
return MlbStandingsData | return MlbStandingsData | ||
Revision as of 00:46, 5 April 2013
Documentation for this module may be created at Module:MLB standings/data/doc
local MlbStandingsData = { }
MLBStandingsData.abbreviationForDivision = {
['American League East'] = 'AL East',
['American League West'] = 'AL West',
['National League East'] = 'NL East',
['National League West'] = 'NL West',
}
return MlbStandingsData