Module:Adjacent stations/Milwaukee Road

local milw = "%1 station (Milwaukee Road)" local mt = "% station (Montana)" local wi = "% station (Wisconsin)" -- Trying to target small towns that don't need separate article for station but didn't work? local wi2 = "%, Wisconsin" -- local mn = "% station (Minnesota)" local ia = "% station (Iowa)" local sd = "% station (South Dakota)" local wa = "% station (Washington)"

local p = { ["system title"] = "Milwaukee Road", ["system icon"] = "", ["system color"] = "BC5721", ["station format"] = { "%1 station", ["Aberdeen"] = "Chicago, Milwaukee, St. Paul and Pacific Railroad Depot (Aberdeen, South Dakota)", ["Albert City"] = "Chicago, Milwaukee and Pacific Railroad-Albert City Station", ["Austin"] = mn, ["Arlington"] = ia, ["Avery"] = "Avery Depot", -- ["Bagley Junction"] = wi2, ["Bayport"] = mn, ["Beaver Dam"] = "Chicago, Milwaukee and St. Paul Railway Company Passenger Depot", ["Bellevue"] = ia, ["Belvidere"] = sd, ["Birchwood"] = milw, ["Brookfield"] = "Brookfield station (Wisconsin)", ["Buffalo"] = ia, ["Buena Park"] = milw, ["Calmar"] = "Calmar Passenger Depot", ["Carpenter"] = ia, ["Cedar Rapids"] = milw, ["Central Avenue"] = milw, ["Clinton, MN"] = "Chicago, Milwaukee, St. Paul and Pacific Depot (Clinton, Minnesota)", ["Chicago"] = "Chicago Union Station", ["Crivitz"] = wi, ["Darwin"] = wi, ["Davenport"] = "Union Station (Davenport, Iowa)", ["Decorah"] = "Milwaukee and St. Paul Railway Combination Depot", ["Delmar"] = "Chicago, Milwaukee, St. Paul and Pacific Depot – Delmar", ["Easton"] = sd, ["Edgeley"] = milw, ["Evanston"] = milw, ["Elgin"] = "Elgin station (Illinois)", ["Fall River"] = wi, ["Fargo"] = milw, ["Forest Glen"] = "Forest Glen station (Illinois)", ["Fox Lake, WI"] = "Fox Lake Railroad Depot", ["Franklin Street"] = "Franklin Street station (Wisconsin)", ["Grafton"] = "Chicago, Milwaukee, and St. Paul Railroad-Grafton Station", ["Harlowton"] = "Milwaukee Road Historic District", ["Hastings"] = mn, ["Hillsdale"] = milw, ["Iron River"] = "Chicago, Milwaukee and Saint Paul Railway Iron River Depot", ["Java"] = "Java Depot", ["Kadoka"] = "Chicago, Milwaukee, and St. Paul Railroad Depot (Kadoka, South Dakota)", ["Kansas City"] = "Kansas City Union Station", ["Lena"] = wi, ["Madison, SD"] = "Chicago, Milwaukee, St. Paul and Pacific Railroad Depot (Madison, South Dakota)", ["Madison"] = "Milwaukee Road Depot (Madison, Wisconsin)", ["Mannheim"] = "Mannheim station (Illinois)", ["Marinette"] = "Milwaukee Road Depot (Marinette, Wisconsin)", ["Mars"] = "Mars station (Illinois)", ["Mendota"] = mn, ["Menominee"] = "Chicago, Milwaukee, St. Paul and Pacific Railroad Station (Menominee, Michigan)", ["Middleton"] = "Middleton Depot", ["Milwaukee"] = "Everett Street Depot", ["Missoula"] = "Milwaukee Depot", ["Minneapolis"] = "Chicago, Milwaukee, St. Paul and Pacific Depot Freight House and Train Shed", ["Mont Clare"] = "Mont Clare station (Illinois)", ["Monticello"] = ia, ["Montague"] = mt, ["Montevideo"] = "Chicago, Milwaukee and St. Paul Depot (Montevideo, Minnesota)", ["Morton"] = wa, ["Randolph"] = wi, ["Rogers Park"] = milw, ["Rondout"] = "Rondout station (Illinois)", ["Rolling Prairie"] = wi, ["Oakdale"] = wi, ["Oakton"] = ia, ["Omaha"] = "Union Station (Omaha)", ["Ottumwa Jefferson Street"] = "Ottumwa station", ["Plymouth"] = ia, ["Seattle"] = "Union Station (Seattle)", ["Selby"] = milw, ["Shawmut"] = milw, ["Stillwater"] = "Chicago, Milwaukee and St. Paul Freight House", ["St. Paul"] = "Saint Paul Union Depot", ["Stoughton"] = wi, ["Tacoma"] = milw, ["Utica"] = sd, ["Wheaton"] = "Wheaton Depot", ["White Rock"] = sd, ["Wells"] = "Chicago, Milwaukee, St. Paul and Pacific Depot and Lunchroom", ["Wentworth"] = milw, ["Western Avenue"] = "Western Avenue station (Milwaukee District)", ["Wilson"] = milw, ["Yankton"] = "Chicago, Milwaukee and St. Paul Depot (Yankton, South Dakota)", },	["lines"] = { ["_default"] = { ["color"] = "BC5721", },		["Aberdeen-Manilla"] = { ["title"] = "Aberdeen – Manilla", ["left terminus"] = "Aberdeen", ["right terminus"] = "Manilla", },               ["Austin-Mason City"] = { ["title"] = "Austin – Mason City", ["left terminus"] = "Austin", ["right terminus"] = "Mason City", },               ["Cannon Falls-Red Wing"] = { ["title"] = "Cannon Falls – Red Wing", ["left terminus"] = "Cannon Falls", ["right terminus"] = "Red Wing", },               ["Cascade-Bellevue"] = { ["title"] = "Cascade – Bellevue", ["left terminus"] = "Cascade", ["right terminus"] = "Bellevue", },               ["Cedar Rapids-Calmar"] = { ["title"] = "Cedar Rapids – Calmar", ["left terminus"] = "Cedar Rapids", ["right terminus"] = "Calmar", },               ["Crivitz-Menominee"] = { ["title"] = "Crivitz – Menominee", ["left terminus"] = "Crivitz", ["right terminus"] = "Menominee", },               ["Decorah-Calmar"] = { ["title"] = "Decorah – Calmar", ["left terminus"] = "Decorah", ["right terminus"] = "Calmar", },		["Edgeley Branch"] = { ["title"] = "Edgeley Branch", ["left terminus"] = "Edgeley", ["right terminus"] = "Aberdeen", },               ["Kansas City-Savanna"] = { ["title"] = "Kansas City – Savanna", ["left terminus"] = "Kansas City", ["right terminus"] = "Savanna", },               ["Fargo-Ortonville"] = { ["title"] = "Fargo – Ortonville", ["left terminus"] = "Fargo", ["right terminus"] = "Ortonville", },               ["Hoquiam-Tacoma"] = { ["title"] = "Hoquiam – Tacoma", ["left terminus"] = "Hoquiam", ["right terminus"] = "Tacoma", },               ["Iron River-Channing"] = { ["title"] = "Iron River – Channing", ["left terminus"] = "Iron River", ["right terminus"] = "Channing", },		["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = {"Seattle", "Tacoma"}, ["right terminus"] = "Chicago", },               ["Maquoketa-Davenport"] = { ["title"] = "Maquoketa – Davenport", ["left terminus"] = "Maquoketa", ["right terminus"] = "Davenport", },               ["Minneapolis-Calmar"] = { ["title"] = "Minneapolis – Calmar", ["left terminus"] = "Minneapolis", ["right terminus"] = "Calmar", },               ["Mineral Point-Janesville"] = { ["title"] = "Mineral Point – Janesville", ["left terminus"] = "Mineral Point", ["right terminus"] = "Janesville", },               ["Monticello-Davenport"] = { ["title"] = "Monticello – Davenport", ["left terminus"] = "Monticello", ["right terminus"] = "Davenport", },               ["National Park Branch"] = { ["title"] = "Mount Rainier National Park Branch", ["left terminus"] = "Morton", ["right terminus"] = "Tacoma", },               ["New Glarus-Brodhead"] = { ["title"] = "New Glarus – Brodhead", ["left terminus"] = "New Glarus", ["right terminus"] = "Brodhead", },		["North"] = { ["title"] = "Suburban Service", ["note-mid"] = "North Line", ["left terminus"] = "Walworth", ["right terminus"] = "Chicago", },		["Northern Montana Division"] = { ["title"] = "Northern Montana Division", ["left terminus"] = "Agawam", ["right terminus"] = "Harlowton", },               ["Ontonagon-Milwaukee"] = { ["title"] = "Ontonagon – Milwaukee", ["left terminus"] = "Ontonagon", ["right terminus"] = "Milwaukee", },		["Omaha"] = { ["title"] = "Omaha – Chicago", ["left terminus"] = "Omaha", ["right terminus"] = "Chicago", },               ["Ottumwa-Cedar Rapids"] = { ["title"] = "Ottumwa – Cedar Rapids", ["left terminus"] = "Ottumwa", ["right terminus"] = "Cedar Rapids", },               ["Platte-Yankton"] = { ["title"] = "Platte – Yankton", ["left terminus"] = "Platte", ["right terminus"] = "Yankton", },                   ["Stillwater-Hastings"] = { ["title"] = "Stillwater – Hastings", ["left terminus"] = "Stillwater", ["right terminus"] = "Hastings", },               ["Wells-Farmington"] = { ["title"] = "Wells – Farmington", ["left terminus"] = "Wells", ["right terminus"] = "Farmington", },		["Wessington Springs-La Crosse"] = { ["title"] = "Wessington Springs – La Crosse", ["left terminus"] = "Wessington Springs", ["right terminus"] = "La Crosse", },		["West"] = { ["title"] = "Suburban Service", ["note-mid"] = "West Line", ["left terminus"] = "Elgin", ["right terminus"] = "Chicago", },		["Chicago-Milwaukee"] = { ["title"] = "Chicago – Milwaukee", ["left terminus"] = "Milwaukee", ["right terminus"] = "Chicago", },		["Madison-Rondout"] = { ["title"] = "Madison – Rondout", ["left terminus"] = "Madison", ["right terminus"] = "Rondout", },               ["Via Watertown"] = { ["title"] = "Madison – Milwaukee via Watertown", ["left terminus"] = "Madison", ["right terminus"] = "Milwaukee", },               ["Via Waukesha"] = { ["title"] = "Madison – Milwaukee via Waukesha", ["left terminus"] = "Madison", ["right terminus"] = "Milwaukee", },               ["Rapid City-Madison"] = { ["title"] = "Rapid City – Madison", ["right terminus"] = "Madison", ["left terminus"] = "Rapid City", },               ["Savanna-La Crosse"] = { ["title"] = "Savanna – La Crosse", ["left terminus"] = "Savanna", ["right terminus"] = "La Crosse", },               ["Spirit Lake-Des Moines"] = { ["title"] = "Spirit Lake – Des Moines", ["left terminus"] = "Spirit Lake", ["right terminus"] = "Des Moines", },               ["Portage-Horicon"] = { ["title"] = "Portage – Horicon", ["left terminus"] = "Portage", ["right terminus"] = "Horicon", },               ["Portage-Madison"] = { ["title"] = "Madison – Portage", ["left terminus"] = "Madison", ["right terminus"] = "Portage", },		["Evanston"] = { ["title"] = "Chicago – Evanston", ["left terminus"] = "Llewellyn Park", ["right terminus"] = "Chicago", },	},	["aliases"] = { ["main"] = "Main Line", ["Madison-Portage"] = "Portage-Madison", } }

return p