Module:Adjacent stations/CTA
local blue = "%1 station (CTA Blue Line)"
local brown = "%1 station (CTA Brown Line)"
local cae = "%1 station (Chicago Aurora and Elgin Railroad)"
local cta = "%1 station (CTA)"
local congress = "%1 station (CTA Congress Line)"
local crt = "%1 station (CRT)"
local douglas = "%1 station (CTA Douglas branch)"
local englewood = "%1 station (CTA Englewood branch)"
local humboldt = "%1 station (CTA Humboldt Park branch)"
local garfield = "%1 station (CTA Garfield Park branch)"
local green = "%1 station (CTA Green Line)"
local lake = "%1 station (CTA Lake Street Elevated)"
local logan = "%1 station (CTA Logan Square branch)"
local mml = "%1 station (CTA Metropolitan Main Line)"
local niles = "%1 station (CTA Niles Center branch)"
local normal = "%1 station (CTA Normal Park branch)"
local nsml = "%1 station (CTA North Side Main Line)"
local orange = "%1 station (CTA Orange Line)"
local pink = "%1 station (CTA Pink Line)"
local purple = "%1 station (CTA Purple Line)"
local red = "%1 station (CTA Red Line)"
local south = "%1 station (CTA South Side Elevated)"
local stock = "%1 station (CTA Stock Yards branch)"
local westchester = "%1 station (CTA Westchester branch)"
local stn = "%1 station"
local p = {
["lang"] = "en-US",
["system title"] = "Chicago \"L\"",
["system icon"] = "File:Chicago Transit Authority Logo.svg",
["header background color"] = "0075c9",
["header text color"] = "FFFFFF",
["station format"] = {
stn,
["5th Avenue"] = "Fifth Avenue–Maywood station",
["11th Avenue"] = cae,
["17th Avenue"] = cae,
["18th Street"] = {
south,
["Douglas"] = douglas,
},
["25th Avenue"] = cae,
["29th Street"] = cta,
["33rd Street"] = cta,
["35th"] = "35th–Bronzeville–IIT station",
["35th Street"] = "35th–Bronzeville–IIT station",
["47th"] = {
["Green"] = green,
["Red"] = red,
},
["54th/Cermak"] = "54th/Cermak",
["65th Street"] = normal,
["69th Street"] = normal,
["Addison"] = {
["Blue"] = blue,
["Brown"] = brown,
["Red"] = red,
["NSML"] = red,
["Purple"] = red,
},
["95th/Dan Ryan"] = "95th/Dan Ryan",
["Adams/Wabash"] = "Adams/Wabash",
["Ashland"] = {
"Ashland station (CTA Green and Pink Lines)",
["Englewood"] = "Ashland/63rd station",
["Howard–Englewood–Jackson Park"] = "Ashland/63rd station",
["Orange"] = orange,
},
["Ashland/63rd"] = "Ashland/63rd",
["Ashland/63rd old"] = "Ashland",
["Argyle"] = cta,
["Armour"] = cta,
["Austin"] = {
["Blue"] = blue,
["Congress"] = blue,
["Douglas"] = douglas,
["Garfield"] = garfield,
["Green"] = green,
["Lake"] = green,
},
["Berwyn"] = cta,
["Bellwood"] = cae,
["Belmont"] = {
nsml,
["Blue"] = blue,
},
["Bryn Mawr"] = cta,
["California"] = {
["Blue"] = {
blue,
["Cermak"] = pink
},
["Congress"] = congress,
["Garfield"] = garfield,
["Green"] = green,
["Humboldt"] = humboldt,
["Lake"] = green,
["Logan"] = blue,
["Pink"] = pink,
},
["Canal"] = {
mml,
["Lake"] = lake,
},
["Calvary"] = crt,
["Central"] = {
["Congress"] = congress,
["Douglas"] = douglas,
["Evanston"] = purple,
["Garfield"] = garfield,
["Green"] = green,
["Purple"] = purple,
},
["Central Park"] = cta,
["Cermak"] = "Cermak–McCormick Place station",
["Chicago"] = {
"Chicago station (CTA Brown and Purple Lines)",
["Blue"] = blue,
["Logan"] = logan,
["Red"] = red,
},
["Cicero"] = {
["Blue"] = {
blue,
["Cermak"] = pink,
},
["Congress"] = blue,
["Douglas"] = pink,
["Garfield"] = garfield,
["Green"] = green,
["Pink"] = pink,
},
["Clark"] = cta,
["Clark/Division"] = "Clark/Division",
["Clinton"] = {
"Clinton station (CTA Green and Pink Lines)",
["Blue"] = blue,
},
["Congress Terminal"] = "%1",
["Conservatory"] = "Conservatory–Central Park Drive station",
["Crawford"] = {
["Douglas"] = douglas,
["Garfield"] = garfield,
},
["Cumberland"] = cta,
["Damen"] = {
["Brown"] = brown,
["Ravenswood"] = brown,
["Blue"] = {
blue,
["Cermak"] = pink
},
["Green"] = green,
["Humboldt"] = blue,
["Logan"] = blue,
["Lake"] = "Damen station (CTA Green Line)#Original station (1893–1948)",
["Pink"] = pink,
},
["Dempster"] = {
stn,
["Niles"] = "Dempster–Skokie station",
},
["Division"] = {
nsml,
["Blue"] = blue,
["Logan"] = logan,
},
["Davis"] = cta,
["Des Plaines"] = "Forest Park station",
["Exchange"] = cta,
["Forest Park"] = {
stn,
["Lake"] = lake,
},
["Fullerton"] = cta,
["Franklin Street Terminal"] = "Franklin Street Terminal",
["Garfield"] = {
["Garfield"] = garfield,
["Green"] = green,
["Red"] = red,
["South Side"] = green,
},
["Grand"] = {
nsml,
["Blue"] = blue,
["Logan"] = logan,
["Red"] = red,
},
["Granville"] = cta,
["Halsted"] = {
nsml,
["Green"] = {
green,
["Lake"] = "Halsted station (CTA Green Line Lake branch)",
},
["Englewood"] = green,
["Lake"] = "Halsted station (CTA Green Line Lake branch)",
["MML"] = mml,
["Orange"] = orange,
["Orange loop"] = orange,
["Stock"] = stock,
},
["Harold Washington Library"] = "Harold Washington Library–State/Van Buren station",
["Harlem"] = {
["Blue"] = {
"Harlem station (CTA Blue Line O'Hare branch)",
["Congress"] = "Harlem station (CTA Blue Line Forest Park branch)",
},
["Garfield"] = garfield,
["Lake"] = "Harlem/Lake station",
},
["Harlem/Lake"] = "Harlem/Lake",
["Harlem Race Track"] = "%1",
["Harrison"] = {
cta,
["Westchester"] = westchester,
},
["Harvard"] = cta,
["Homan"] = {
stn,
["Douglas"] = douglas,
},
["Home"] = cta,
["Howard"] = cta,
["Hoyne"] = {
["Douglas"] = douglas,
["Garfield"] = garfield,
},
["Indiana"] = cta,
["IMD"] = "Illinois Medical District station",
["Irving Park"] = {
["Brown"] = brown,
["Ravenswood"] = brown,
["Blue"] = blue,
},
["Jackson"] = {
["Blue"] = blue,
["Red"] = red,
},
["Jackson Park"] = cta,
["Jackson Park (1893)"] = "Jackson Park",
["Jefferson Park"] = "Jefferson Park Transit Center",
["Kedzie"] = {
["Blue"] = {
["Cermak"] = pink
},
["Brown"] = brown,
["Congress"] = "Kedzie–Homan station",
["Garfield"] = garfield,
["Green"] = green,
["Humboldt"] = humboldt,
["Lake"] = green,
["Orange"] = orange,
["Pink"] = pink,
},
["Kenton"] = cta,
["Kostner"] = {
["Blue"] = pink,
["Congress"] = congress,
["Douglas"] = pink,
["Lake"] = lake,
["Niles"] = niles,
["Pink"] = pink,
},
["Lake"] = cta,
["LaSalle"] = cta,
["LaSalle/Van Buren"] = "LaSalle/Van Buren",
["Laramie"] = {
["Blue"] = blue,
["Douglas"] = douglas,
["Garfield"] = garfield,
["Green"] = green,
["Lake"] = green,
},
["Lawndale"] = {
["Douglas"] = douglas,
["Humboldt"] = humboldt,
},
["Lawrence"] = cta,
["Library"] = "Harold Washington Library–State/Van Buren station",
["Linden"] = cta,
["Logan Square"] = {
stn,
["Logan"] = logan,
},
["Lombard"] = {
["Douglas"] = douglas,
["Cuyler"] = lake,
["Garfield"] = garfield,
["Lake"] = lake,
["Randolph"] = lake,
},
["Loomis"] = {
["Englewood"] = englewood,
["Lake"] = lake,
},
["Loop"] = "Loop",
["Loop lake"] = "Loop
(Randolph/Wells)",
["Loop orange"] = "Loop
(Library)",
["Loop purple"] = "Loop
(Clark/Lake)",
["Loop pink"] = "Loop
(Clark/Lake)",
["Loop brown"] = "Loop
(Washington/Wells)",
["Loop brown old"] = "Loop
(Randolph/Wells)",
["Loop south"] = "Loop
(Adams/Wabash)",
["Loop met"] = "Loop
(LaSalle/Van Buren)",
["Madison"] = cta,
["Main"] = {
cta,
["Niles"] = niles,
},
["Mannheim/22nd"] = "Mannheim/22nd",
["Marion"] = cta,
["Medical Center"] = cta,
["Michigan"] = cta,
["Midway"] = "Midway File:Pictograms-nps-airport.svg",
["Monroe"] = {
["Blue"] = blue,
["Red"] = red,
},
["Montrose"] = {
["Blue"] = blue,
["Brown"] = brown,
["Ravenswood"] = brown,
},
["North/Clybourn"] = "North/Clybourn",
["North Water Terminal"] = "%1",
["O'Hare"] = "O'Hare File:Pictograms-nps-airport.svg",
["Oak"] = cta,
["Oakley"] = cta,
["Oak Park"] = {
["Blue"] = blue,
["Congress"] = blue,
["Douglas"] = douglas,
["Garfield"] = garfield,
["Green"] = green,
["Lake"] = green,
},
["Ogden"] = cta,
["Princeton"] = cta,
["Pulaski"] = {
["Blue"] = {
blue,
["Cermak"] = pink
},
["Congress"] = blue,
["Douglas"] = pink,
["Garfield"] = garfield,
["Green"] = green,
["Orange"] = orange,
["Pink"] = pink,
},
["Quincy"] = cta,
["Racine"] = {
["Blue"] = blue,
["Englewood"] = green,
["Green"] = green,
["Lake"] = lake,
["MML"] = mml,
["Stock"] = stock,
},
["Randolph/Wabash"] = "Randolph/Wabash",
["Ravenswood"] = cta,
["Ridgeland"] = {
stn,
["Douglas"] = douglas,
["Garfield"] = garfield,
},
["Roosevelt"] = {
cta,
["Douglas"] = douglas,
["Westchester"] = westchester,
},
["Rosemont"] = cta,
["Sacramento"] = {
["Garfield"] = garfield,
["Lake"] = lake,
},
["Sedgwick"] = cta,
["Sheridan"] = cta,
["Southport"] = cta,
["State"] = cta,
["State/Lake"] = "State/Lake",
["State/Van Buren"] = "Harold Washington Library–State/Van Buren station",
["Stock Yards"] = "Stock Yards
(Racine)",
["Stony Island"] = cta,
["St. Louis"] = {
["Garfield"] = garfield,
["Humboldt"] = humboldt,
},
["Tech–35th"] = "35th–Bronzeville–IIT station",
["Thorndale"] = cta,
["University"] = cta,
["Vincennes"] = cta,
["Washington"] = {
["Blue"] = blue,
["Red"] = red,
},
["Washington/Wabash"] = "Washington/Wabash",
["Washington/Wells"] = "Washington/Wells",
["Wellington"] = cta,
["Wells Street Terminal"] = "%1",
["Western"] = {
["Blue"] = {
"Western station (CTA Blue Line O'Hare branch)",
["Cermak"] = pink,
["Congress"] = "Western station (CTA Blue Line Forest Park branch)",
},
["Brown"] = brown,
["Ravenswood"] = brown,
["Congress"] = "Western station (CTA Blue Line Forest Park branch)",
["Douglas"] = pink,
["Garfield"] = garfield,
["Humboldt"] = humboldt,
["Logan"] = "Western station (CTA Blue Line O'Hare branch)",
["Orange"] = orange,
["Pink"] = pink,
},
["Willow"] = crt,
["Wilson"] = cta,
["Wood"] = {
"Wood station",
["Douglas"] = douglas
},
["Wrightwood"] = cta,
},
["lines"] = {
["Blue"] = {
["title"] = "Blue Line",
["color"] = "00A1DE",
["text color"] = "FFFFFF",
["left terminus"] = "O'Hare",
["right terminus"] = "Forest Park",
["types"] = {
["Cermak"] = {
["title"] = "Cermak branch",
["left terminus"] = "54th/Cermak",
["right terminus"] = "O'Hare",
},
["Congress"] = {
["title"] = "",
["left terminus"] = "Forest Park",
["right terminus"] = "O'Hare",
},
},
},
["Brown"] = {
["title"] = "Brown Line",
["color"] = "62361B",
["left terminus"] = "Kimball",
["right terminus"] = "Loop brown",
},
["Brown loop"] = {
["title"] = "Brown Line",
["color"] = "62361B",
["left terminus"] = "toward Kimball",
["right terminus"] = "Loop-bound terminus",
["circular"] = true,
},
["Green"] = {
["title"] = "Green Line",
["color"] = "009B3A",
["text color"] = "FFFFFF",
["left terminus"] = "Harlem/Lake",
["right terminus"] = {"Ashland/63rd", "Cottage Grove"},
["types"] = {
["old"] = {
["title"] = "",
["right terminus"] = {"Ashland/63rd old", "University"},
},
["Ashland"] = {
["title"] = "Ashland branch",
["right terminus"] = "Ashland/63rd",
},
["Englewood"] = {
["title"] = "Englewood branch",
["right terminus"] = "Ashland",
},
["East 63rd"] = {
["title"] = "East 63rd branch",
["right terminus"] = "Cottage Grove",
},
["Jackson Park"] = {
["title"] = "Jackson Park branch",
["right terminus"] = "University",
},
},
},
["Orange"] = {
["title"] = "Orange Line",
["color"] = "F9461C",
["text color"] = "FFFFFF",
["left terminus"] = "Midway",
["right terminus"] = "Loop orange",
},
["Orange loop"] = {
["title"] = "Orange Line",
["color"] = "F9461C",
["left terminus"] = "Midway",
["right terminus"] = "Loop-bound terminus",
["circular"] = true,
},
["Pink"] = {
["title"] = "Pink Line",
["color"] = "E27EA6",
["text color"] = "FFFFFF",
["left terminus"] = "54th/Cermak",
["right terminus"] = "Loop pink",
},
["Pink loop"] = {
["title"] = "Pink Line",
["color"] = "E27EA6",
["left terminus"] = "toward 54th/Cermak",
["right terminus"] = "Loop-bound terminus",
["circular"] = true,
},
["Purple"] = {
["title"] = "Purple Line",
["color"] = "522398",
["left terminus"] = "Linden",
["right terminus"] = "Howard",
},
["Purple loop"] = {
["title"] = "Purple Line",
["color"] = "522398",
["left terminus"] = "toward Linden",
["right terminus"] = "Loop-bound terminus",
["circular"] = true,
},
["Red"] = {
["title"] = "Red Line",
["color"] = "C60C30",
["left terminus"] = "Howard",
["right terminus"] = "95th/Dan Ryan",
},
["Yellow"] = {
["title"] = "Yellow Line",
["color"] = "F9E300",
["left terminus"] = "Dempster–Skokie",
["right terminus"] = "Howard",
},
["Congress"] = {
["title"] = "Congress branch",
["color"] = "000000",
["left terminus"] = "Des Plaines",
["right terminus"] = "O'Hare",
},
["Cuyler"] = {
["title"] = "Cuyler Shuttle",
["color"] = "000000",
["left terminus"] = "Harlem Race Track",
["right terminus"] = "Lombard",
},
["Douglas"] = {
["title"] = "Douglas branch",
["color"] = "000000",
["left terminus"] = "Oak Park",
["right terminus"] = "Marshfield",
},
["Englewood"] = {
["title"] = "Englewood branch",
["color"] = "000000",
["left terminus"] = "58th",
["right terminus"] = "Ashland",
},
["Evanston"] = {
["title"] = "Evanston Line",
["color"] = "000000",
["left terminus"] = "Linden",
["right terminus"] = "Howard",
},
["Garfield"] = {
["title"] = "Garfield Park branch",
["color"] = "000000",
["left terminus"] = "Des Plaines",
["right terminus"] = "Marshfield",
},
["Howard–Englewood–Jackson Park"] = {
["title"] = "Howard–Englewood–Jackson Park route",
["color"] = "C60C30",
["left terminus"] = "Howard",
["right terminus"] = {"Ashland", "Jackson Park"},
},
["Humboldt"] = {
["title"] = "Humboldt Park branch",
["color"] = "000000",
["left terminus"] = "Lawndale",
["right terminus"] = "Damen",
},
["Jackson Park"] = {
["title"] = "Jackson Park branch",
["color"] = "000000",
["left terminus"] = "58th",
["right terminus"] = "Jackson Park",
},
["Kenwood"] = {
["title"] = "Kenwood branch",
["color"] = "000000",
["left terminus"] = "Indiana",
["right terminus"] = "42nd Place",
},
["Lake"] = {
["title"] = "Lake Street Elevated",
["color"] = "000000",
["left terminus"] = "Harlem/Lake",
["right terminus"] = {"Loop lake", "Market Terminal"},
},
["Lake–Dan Ryan"] = {
["title"] = "Lake–Dan Ryan route",
["color"] = "009B3A",
["left terminus"] = "Harlem/Lake",
["right terminus"] = "95th/Dan Ryan",
},
["Logan"] = {
["title"] = "Logan Square branch",
["color"] = "000000",
["left terminus"] = "Logan Square",
["right terminus"] = "Marshfield",
},
["Loop"] = {
["title"] = "Loop Elevated",
["color"] = "000000",
["left terminus"] = "Next clockwise",
["right terminus"] = "Next counter-clockwise",
["circular"] = true,
},
["Loop Shuttle"] = {
["title"] = "Loop Shuttle",
["color"] = "565A5C",
["left terminus"] = "One-way operation",
["right terminus"] = "Next clockwise",
["circular"] = true,
},
["MML"] = {
["title"] = "Metropolitan main line",
["color"] = "000000",
["left terminus"] = "Marshfield",
["right terminus"] = {"Loop met", "Wells Street Terminal"},
},
["MML loop"] = {
["title"] = "Metropolitan main line",
["color"] = "000000",
["left terminus"] = "toward Marshfield",
["right terminus"] = "Loop-bound terminus",
["circular"] = true,
},
["Niles"] = {
["title"] = "Niles Center branch",
["color"] = "000000",
["left terminus"] = "Dempster",
["right terminus"] = "Howard",
},
["Normal Park"] = {
["title"] = "Normal Park branch",
["color"] = "000000",
["left terminus"] = "69th Street",
["right terminus"] = "Harvard",
},
["Northwestern Elevated Railroad"] = {
["title"] = "Northwestern Elevated Railroad",
["color"] = "000000",
["left terminus"] = "Linden",
["right terminus"] = {"Loop brown old", "North Water Terminal"},
},
["NSML"] = {
["title"] = "North Side main line",
["color"] = "000000",
["left terminus"] = "Howard",
["right terminus"] = {"Loop brown old", "North Water Terminal"},
},
["Randolph"] = {
["title"] = "Randolph Street branch",
["color"] = "000000",
["left terminus"] = "Wisconsin/Randolph",
["right terminus"] = "Lombard",
},
["Ravenswood"] = {
["title"] = "Ravenswood branch",
["color"] = "000000",
["left terminus"] = "Kimball",
["right terminus"] = "Belmont",
},
["South Side"] = {
["title"] = "South Side Elevated",
["color"] = "000000",
["left terminus"] = {"Loop south", "Congress Terminal"},
["right terminus"] = "58th",
},
["South Side loop"] = {
["title"] = "South Side Elevated",
["color"] = "000000",
["left terminus"] = "Loop-bound terminus",
["right terminus"] = "toward 58th",
["circular"] = true,
},
["Stock"] = {
["title"] = "Stock Yards branch",
["color"] = "000000",
["left terminus"] = "Stock Yards",
["right terminus"] = "Indiana",
},
["Westchester"] = {
["title"] = "Westchester branch",
["color"] = "000000",
["left terminus"] = "Mannheim/22nd",
["right terminus"] = "Des Plaines",
},
["A"] = {
["color"] = "DC0000",
},
["B"] = {
["color"] = "008800",
},
["AB"] = {
["color"] = "32B9DF",
},
["KDR90"] = {
["color"] = "315ACC",
},
},
["aliases"] = {
["evanstonx"] = "Evanston",
["oldgreen"] = "Green",
["purplex"] = "Purple",
},
}
return p