Module:Adjacent stations/Chicago and North Western Railway

local cnw = "%1 station (C&NW)"
local depot = "%1 Depot"
local il = "%1 station (Illinois)"
local metra = "%1 station (Metra)"
local wi = "%1 station (Wisconsin)"
local ia = "%1 station (Iowa)"
local ne = "%1 station (Nebraska)"
local wy = "%1 station (Wyoming)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Chicago and North Western Transportation Company|Chicago and North Western Railway]]",
	["system icon"] = "",
	["system color"] = "fce300",
	["station format"] = {
		"%1 station",
        ["Antigo"] = "Antigo Depot",
        ["Arcadia"] = ia,
		["Avenue"] = "Oak Park station (CTA Green Line)",
        ["Ashland"] = "Union Depot (Ashland, Wisconsin)",
        ["Auburn"] = ia,
        ["Aurora"] = cnw,
		["Austin"] = cnw,
		["Austin Boulevard"] = "Austin station (CTA Green Line)",
        ["Batavia"] = cnw,
		["Belmont Avenue"] = cnw,
        ["Belvidere"] = cnw,
		["Berkeley"] = il,
        ["Bryant"] = wi,
		["Butler"] = cnw,
		["Calvary"] = cnw,
        ["Carroll"] = "Chicago & Northwestern Passenger Depot and Baggage Room-Carroll",
		["Cary"] = "Cary station (Metra)",
		["Central Street"] = "Evanston Central Street station",
		["Chicago"] = "Chicago and North Western Terminal",
                ["Cortland"] = il,
		["College Avenue"] = il,
                ["Cottage Grove"] = wi,
		["Cudahy"] = "Cudahy Chicago and North Western Railway Depot",
		["Cumberland"] = "Cumberland station (Metra)",
		["Dempster Street"] = cnw,
        ["Douglas"] = "Fremont, Elkhorn & Missouri Valley Railroad Passenger Depot",
		["Elmhurst"] = il,
		["Evanston"] = "Evanston Davis Street station",
        ["Florence"] = "Florence Depot",
        ["Fond du Lac"] = "Chicago and Northwestern Railroad Depot (Fond du Lac, Wisconsin)",
        ["Foster"] = ne,
        ["Fremont"] = ne,
        ["Freeport"] = cnw,
        ["Florence"] = "Florence Depot",
        ["Geneva"] = il,
        ["Granville"] = wi,
        ["Green Bay"] = "Chicago and North Western Railway Passenger Depot (Green Bay)",
		["Highland Park"] = il,
        ["Ironwood"] = "Chicago and Northwestern Railroad Depot (Ironwood, Michigan)",
        ["Irvine"] = wy,
        ["Irvington"] = ne,
        ["Jefferson"] = wi,
		["Kedzie"] = metra,
		["Kenilworth"] = il,
		["Kenmore"] = il,
		["Lake Forest"] = "Lake Forest station (Union Pacific)",
                ["Lancaster"] = wi,
                ["Lebanon"] = "Lebanon (CDP), Wisconsin",
		["Madison"]= cnw,
		["Main Street"]= "Evanston Main Street station",
                ["Malta"] = il,
		["Maplewood"] = cnw,
		["Marion Street"] = "Oak Park station",
		["Mayfair"] = cnw,
		["Maywood"] = il,
        ["Mendota"] = wi,
		["Melrose Park"] = il,
		["Milwaukee"] = "Lake Front Depot",
		["Milwaukee Union"] = "Milwaukee Intermodal Station",
		["Minneapolis"] = "Minneapolis Great Northern Depot",
		["Nelson"] = il,
        ["Norfolk"] = ne,
		["Omaha"] = "Union Station (Omaha)",
        ["Omaha (Webster Street)"] = "Webster Street station",
        ["Oregon"] = wi,
		["Park Ridge"] = il,
        ["Parkview"] = il,
		["Peoria"] = "Peoria Union Station",
		["Racine"] = depot,
        ["Rockford"] = cnw,
		["Saint Paul"] = "Saint Paul Union Depot",
		["Sharon"] = cnw,
		["South Milwaukee"] = "South Milwaukee Passenger Station",
        ["Spring Valley"] = cnw,
        ["Superior"] = ne,
        ["Sycamore"] = "Chicago and Northwestern Depot (Sycamore, Illinois)",
        ["Wall Lake"] = "Chicago and North Western Passenger Depot",
        ["Wayne"] = il,
        ["Wilmette"] = "Chicago and Northwestern Depot (Wilmette, Illinois)",
		["Wheaton"] = il,
	},
	["lines"] = {
		["_default"] = {
		["color"] = "fce300",
		},
	    ["Antigo-White Lake"] = {
			["title"] = "[[Antigo, Wisconsin|Antigo]] – [[White Lake, Wisconsin|White Lake]]",
			["left terminus"] = "Antigo",
			["right terminus"] = "White Lake",
		},
        ["Audubon-Carroll"] = {
			["title"] = "[[Audubon, Iowa|Audubon]] – [[Carroll, Iowa|Carroll]]",
			["left terminus"] = "Audubon",
			["right terminus"] = "Carroll",
		},
        ["Ashland-Green Bay"] = {
			["title"] = "[[Ashland, Wisconsin|Ashland]] – [[Green Bay, Wisconsin|Green Bay]]",
			["left terminus"] = "Ashland",
			["right terminus"] = "Green Bay",
		},
        ["Aurora Branch"] = {
			["title"] = "Aurora Branch",
			["left terminus"] = "Aurora",
			["right terminus"] = "Chicago",
		},
        ["Bayfield-Ashland"] = {
			["title"] = "[[Bayfield, Wisconsin|Bayfield]] – [[Ashland, Wisconsin|Ashland]]",
			["left terminus"] = "Bayfield",
			["right terminus"] = "Ashland",
		},
		["Benld-Nelson"] = {
			["title"] = "[[Benld, Illinois|Benld]] – [[Nelson, Illinois|Nelson]]",
			["left terminus"] = "Benld",
			["right terminus"] = "Nelson",
		},
        ["Belvidere-Spring Valley"] = {
			["title"] = "[[Belvidere, Illinois|Belvidere]] – [[Spring Valley, Illinois|Spring Valley]]",
			["left terminus"] = "Belvidere",
			["right terminus"] = "Spring Valley",
		},
		["Chicago-Minneapolis via Madison"] = {
			["title"] = "[[Chicago]] – [[Minneapolis]]  via [[Madison, Wisconsin|Madison]]",
			["left terminus"] = "Minneapolis",
			["right terminus"] = "Chicago",
		},
		["Chicago-Minneapolis via Milwaukee"] = {
			["title"] = "[[Chicago]] – [[Minneapolis]]  via [[Milwaukee]]",
			["left terminus"] = "Minneapolis",
			["right terminus"] = "Chicago",
		},  
        ["Clintonville-Oconto"] = {
			["title"] = "[[Clintonville, Wisconsin|Clintonville]] – [[Oconto, Wisconsin|Oconto]]",
			["left terminus"] = "Clintonville",
			["right terminus"] = "Oconto",
		},
        ["Currie Line"] = {
			["title"] = "Currie Line",
			["left terminus"] = "Currie",
			["right terminus"] = "Bingham Lake",
		},
        ["Fond du Lac-Sheboygan"] = {
			["title"] = "[[Fond du Lac, Wisconsin|Fond du Lac]] – [[Sheboygan, Wisconsin|Sheboygan]]",
			["left terminus"] = "Fond du Lac",
			["right terminus"] = "Sheboygan",
		},
	    ["Freeport Branch"] = {
			["title"] = "Freeport Branch",
			["left terminus"] = "Freeport",
			["right terminus"] = "West Chicago",
        },
		["Galena Division"] = {
			["title"] = "[[Union Pacific / West Line|Galena Division]]",
			["left terminus"] = "Geneva",
			["right terminus"] = "Chicago",
		},
	    ["Green Bay-Milwaukee"] = {
			["title"] = "[[Green Bay, Wisconsin|Green Bay]] – [[Milwaukee]] via [[Sheboygan, Wisconsin|Sheboygan]]",
			["left terminus"] = "Green Bay",
			["right terminus"] = "Milwaukee",
		},
        ["Harlan-Carroll"] = {
			["title"] = "[[Harlan, Iowa|Harlan]] – [[Carroll, Iowa|Carroll]]",
			["left terminus"] = "Harlan",
			["right terminus"] = "Carroll",
		},
        ["Ironwood-Watersmeet"] = {
			["title"] = "[[Ironwood, Michigan|Ironwood]] – [[Watersmeet, Michigan|Watersmeet]]",
			["left terminus"] = "Ironwood",
			["right terminus"] = "Watersmeet",
		},
        ["Ishpeming-Milwaukee"] = {
			["title"] = "[[Ishpeming, Michigan|Ishpeming]] – [[Milwaukee]]",
			["left terminus"] = "Ishpeming",
			["right terminus"] = "Milwaukee",
		},
		["Janesville-Fond du Lac"] = {
			["title"] = "[[Janesville, Wisconsin|Janesville]] – [[Fond du Lac, Wisconsin|Fond du Lac]]",
			["left terminus"] = "Janesville",
			["right terminus"] = "Fond du Lac",
		},
	    ["KD Line"] = {
			["title"] = "[[Kenosha and Rockford Railroad|KD Line]]",
			["left terminus"] = "Rockford",
			["right terminus"] = "Kenosha",
		},
        ["Lancaster-Madison"] = {
			["title"] = "[[Lancaster, Wisconsin|Lancaster]] – [[Madison, Wisconsin|Madison]]",
			["left terminus"] = "Lancaster",
			["right terminus"] = "Madison",
		},
        ["Lander-Omaha"] = {
			["title"] = "[[Fremont, Elkhorn and Missouri Valley Railroad]]<br>Main&nbsp;Line",
			["left terminus"] = "Lander",
			["right terminus"] = "Omaha",
        },
		["Madison-Milwaukee"] = {
			["title"] = "[[Madison, Wisconsin|Madison]]&nbsp;– [[Milwaukee, Wisconsin|Milwaukee]]",
			["left terminus"] = "Madison",
			["right terminus"] = "Milwaukee",
		},
		["Main Line"] = {
			["title"] = "Main Line",
			["left terminus"] = "Omaha",
			["right terminus"] = "Chicago",
		},
        ["Marshfield-Fond du Lac"] = {
			["title"] = "[[Marshfield, Wisconsin|Marshfield]]&nbsp;– [[Fond du Lac, Wisconsin|Fond du Lac]]",
			["left terminus"] = "Marshfield",
			["right terminus"] = "Fond du Lac",
		},
		["Milwaukee Division"] = {
			["title"] = "[[Union Pacific / North Line|Milwaukee Division]]",
			["left terminus"] = "Milwaukee",
			["right terminus"] = "Chicago",
		},
        ["Minneapolis-Ashland"] = {
			["title"] = "[[Minneapolis, Minnesota|Minneapolis]]&nbsp;– [[Ashland, Wisconsin|Ashland]]",
			["left terminus"] = "Minneapolis",
			["right terminus"] = "Ashland",
		},
        ["Mondamin-Wall Lake"] = {
			["title"] = "[[Mondamin, Iowa|Mondamin]]&nbsp;– [[Wall Lake, Iowa|Wall Lake]]",
			["left terminus"] = "Mondamin",
			["right terminus"] = "Wall Lake",
		},
        ["Onawa-Wall Lake"] = {
			["title"] = "[[Onawa, Iowa|Onawa]]&nbsp;– [[Wall Lake, Iowa|Wall Lake]]",
			["left terminus"] = "Onawa",
			["right terminus"] = "Wall Lake",
        },
        ["Omaha-Minneapolis"] = {
			["title"] = "[[Omaha, Nebraska|Omaha]]&nbsp;– [[Minneapolis]]",
			["right terminus"] = "Minneapolis",
			["left terminus"] = "Omaha",
		},
        ["St. Charles Branch"] = {
			["title"] = "St. Charles Branch",
			["left terminus"] = "St. Charles",
			["right terminus"] = "Chicago",
		},
        ["Scott Lake-Green Bay"] = {
			["title"] = "[[Scott Lake, Wisconsin|Scott Lake]]&nbsp;– [[Green Bay, Wisconsin|Green Bay]]",
			["left terminus"] = "Scott Lake",
			["right terminus"] = "Green Bay",
		},
	    ["Sioux City-Carroll"] = {
			["title"] = "[[Sioux City, Iowa|Sioux City]]&nbsp;– [[Carroll, Iowa|Carroll]]",
			["left terminus"] = "Sioux City",
			["right terminus"] = "Carroll",
        },
        ["Sioux City-Omaha"] = {
			["title"] = "[[Sioux City, Iowa|Sioux City]]&nbsp;– [[Omaha, Nebraska|Omaha]]<br>([[Chicago, St. Paul, Minneapolis and Omaha Railway|Omaha Road]])",
			["left terminus"] = "Sioux City",
			["right terminus"] = "Omaha (Webster Street)",
        },
        ["Superior-Fremont"] = {
			["title"] = "[[Superior, Nebraska|Superior]]&nbsp;– [[Fremont, Nebraska|Fremont]]",
			["left terminus"] = "Superior",
			["right terminus"] = "Fremont",
		}, 
        ["Wall Lake-Tama"] = {
			["title"] = "[[Wall Lake, Iowa|Wall Lake]]&nbsp;– [[Tama, Iowa|Tama]]",
			["right terminus"] = "Tama",
			["left terminus"] = "Wall Lake",
		},
		["Williams Bay Branch"] = {
			["title"] = "[[Williams Bay Branch]]",
			["left terminus"] = "Williams Bay",
			["right terminus"] = "Crystal Lake",
		},
		["Wisconsin Division"] = {
			["title"] = "[[Union Pacific / Northwest Line|Wisconsin Division]]",
			["left terminus"] = "Crystal Lake",
			["right terminus"] = "Chicago",
		},
        ["Wood-Norfolk"] = {
			["title"] = "[[Wood, South Dakota|Wood]]&nbsp;– [[Norfolk, Nebraska|Norfolk]]",
			["left terminus"] = "Wood",
			["right terminus"] = "Norfolk",
		},
	},
}

return p