local tennis =
-- display specifications for player rankingstennis.rankings =
-- display specifications for court surfacestennis.surfaces =
-- display specifications for indoor/outdoor courtstennis.environments =
-- display specifications for tournament resultstennis.rounds =
-- display ordering for various groups of tournamentstennis.orders =
-- display specifications for tennis seasonstennis.tours =
-- display specifications for tennis tournamentstennis.tournaments = -- aliasestennis.tournaments["GPMS Indian Wells"] = tennis.tournaments["1000 Indian Wells"]tennis.tournaments["GPMS Miami"] = tennis.tournaments["1000 Miami"]tennis.tournaments["GPMS Monte Carlo"] = tennis.tournaments["1000 Monte Carlo"]tennis.tournaments["GPMS Hamburg"] = tennis.tournaments["1000 Hamburg"]tennis.tournaments["GPMS Rome"] = tennis.tournaments["1000 Rome"]tennis.tournaments["GPMS Canada"] = tennis.tournaments["1000 Canada"]tennis.tournaments["GPMS Cincinnati"] = tennis.tournaments["1000 Cincinnati"]tennis.tournaments["GPMS Stockholm"] = tennis.tournaments["1000 Stockholm"]tennis.tournaments["GPMS Paris"] = tennis.tournaments["1000 Paris"]tennis.tournaments["PM Indian Wells"] = tennis.tournaments["1000 Indian Wells"]tennis.tournaments["PM Miami"] = tennis.tournaments["1000 Miami"]tennis.tournaments["PM Madrid"] = tennis.tournaments["1000 Madrid"]tennis.tournaments["P5 Rome"] = tennis.tournaments["1000 Rome"]tennis.tournaments["P5 Canada"] = tennis.tournaments["1000 Canada"]tennis.tournaments["P5 Cincinnati"] = tennis.tournaments["1000 Cincinnati"]tennis.tournaments["T1 Indian Wells"] = tennis.tournaments["PM Indian Wells"]tennis.tournaments["T1 Miami"] = tennis.tournaments["PM Miami"]tennis.tournaments["T1 Doha"] = tennis.tournaments["P5 Doha"]tennis.tournaments["T1 Rome"] = tennis.tournaments["P5 Rome"]tennis.tournaments["T1 Canada"] = tennis.tournaments["P5 Canada"]tennis.tournaments["T1 Tokyo"] = tennis.tournaments["P5 Tokyo"]-- Populate years Summer Olympics were held.for year = 1988, 2088, 4 do tennis.tournaments["Summer Olympics"].absence[tostring(year)] = "A"end-- Populate Davis Cup regions.local davisCupCountries = local davisCupRegions = for region,countries in pairs(davisCupCountries) do local regionName = davisCupRegions[region] for _,country in ipairs(countries) do tennis.tournaments["Davis Cup"].region[country] = regionName tennis.tournaments["Fed Cup"].region[country] = regionName endend
require("Module:Tennis performance timeline/data/internal").addInternalEntries(tennis)
return tennis