Module:Adjacent stations/CTA/sandbox

MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Adjacent stations/CTA/sandbox/doc

local blue = "%1 station (CTA Blue Line)"
local brown = "%1 station (CTA Brown Line)"
local cta = "%1 station (CTA)"
local congress = "%1 station (CTA Congress Line)"
local green = "%1 station (CTA Green Line)"
local niles = "%1 station (CTA Niles Center Line)"
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 p = {
	["lang"] = "en-US",
	["system title"] = "[[Chicago \"L\"]]",
	["system icon"] = "",
	["header background color"] = "0075c9",
	["infobox station"] = {
		["_subheader"] = {
			["background-color"] = '#0075C9'
		}
	},
	["station format"] = {
		"%1 station",
		["47th"] = {
			["Green"] = green,
			["Red"] = red,			
		},
		["Addison"] = {
			["Blue"] = blue,
			["Brown"] = brown,
			["Red"] = red,	
		},
		["Ashland"] = {
			"Ashland station (CTA Green and Pink Lines)",
			["Englewood"] = "Ashland/63rd station",
			["Howard-Englewood-Jackson Park"] = "Ashland/63rd station",
			["Orange"] = orange,
		},
		["Addison"] = {
			["Blue"] = blue,
			["Brown"] = brown,
			["Green"] = red,
		},
		["Argyle"] = cta,
		["Austin"] = {
			["Blue"] = blue,
			["Green"] = red,			
		},
		["Berwyn"] = cta,
		["Belmont"] = {
			nsml,
			["Blue"] = blue,
		},
		["Bryn Mawr"] = cta,
		["Central Park"] = cta,
		["California"] = {
			["Blue"] = blue,
			["Congress"] = congress,
			["Green"] = green,
			["Pink"] = pink,	
		},
		["Cental"] = {
			["Congress"] = congress,
			["Green"] = green,
			["Purple"] = purple,	
		},
		["Chicago"] = {
			"Chicago station (CTA Brown and Purple Lines)",
			["Blue"] = blue,
			["Red"] = red,
		},
		["Cicero"] = {
			["Blue"] = blue,
			["Green"] = green,
			["Pink"] = pink,			
		},
		["Clark"] = cta,
		["Clinton"] = {
			"Clinton station (CTA Green and Pink Lines)",
			["Blue"] = blue,
		},
		["Cumberland"] = cta,
		["Damen"] = {
			["Brown"] = brown,
			["Blue"] = blue,
			["Green"] = green,
			["Pink"] = pink,	
		},
		["Division"] = {
			nsml,
			["Blue"] = blue,
		},
		["Davis"] = cta,
		["Fullerton"] = cta,
		["Garfield"] = {
			["Green"] = green,
			["Red"] = red,
		},
		["Grand"] = {
			nsml,
			["Blue"] = blue,
			["Red"] = red,
		},
		["Granville"] = cta,
		["Halsted"] = {
			nsml,
			["Green"] = green,
			["Orange"] = orange,
		},
		["Harlem"] = {
			["Blue"] = {
				"Harlem station (CTA Blue Line O'Hare branch)",
				["Congress"] = "Harlem station (CTA Blue Line Congress branch)",
			},
		},
		["Harrison"] = cta,
		["Harvard"] = cta,
		["Indiana"] = cta,
		["Irving Park"] = {
			["Brown"] = brown,
			["Blue"] = blue,			
		},
		["Jackson"] = {
			["Blue"] = blue,
			["Red"] = red,			
		},
		["Jefferson Park"] = "Jefferson Park Transit Center",
		["Kedzie"] = {
			["Brown"] = brown,
			["Congress"] = "Kedzie–Homan station",
			["Green"] = green,
			["Orange"] = orange,
			["Pink"] = pink,
		},
		["Kostner"] = {
			["Congress"] = congress,
			["Niles Center"] = niles,
			["Pink"] = pink,				
		},
		["Lake"] = cta,
		["LaSalle"] = cta,
		["Laramie"] = {
			["Blue"] = blue,
			["Green"] = green,
		},
		["Lawrence"] = cta,
		["Linden"] = cta,
		["Loop"] = "[[The Loop (CTA)|Loop]]",
		["Loop orange"] = "[[The Loop (CTA)|Loop]]<br><small>[[Harold Washington Library – State/Van Buren station|(State/Van Buren)]]</small>",
		["Loop purple"] = "[[The Loop (CTA)|Loop]]<br><small>[[Clark/Lake station|(Clark/Lake)]]</small>",
		["Loop pink"] = "[[The Loop (CTA)|Loop]]<br><small>[[Clark/Lake station|(Clark/Lake)]]</small>",
		["Loop brown"] = "[[The Loop (CTA)|Loop]]<br><small>[[Washington/Wells station|(Washington/Wells)]]</small>",
		["Loop brown old"] = "[[The Loop (CTA)|Loop]]<br><small>[[Randolph/Wells station|(Randolph/Wells)]]</small>",
		["loop-bound terminus"] = "<small>([[The Loop (CTA)|Loop]]-bound terminus)</small>",
		["Madison"] = cta,
		["Main"] = {
			cta,
			["Niles Center"] = niles,
		},
		["Michigan"] = cta,
		["Monroe"] = {
			["Blue"] = blue,
			["Red"] = red,			
		},
		["Montrose"] = {
			["Blue"] = blue,
			["Brown"] = brown,			
		},
		["O'Hare"] = "[[O'Hare station|O'Hare]] [[File:Pictograms-nps-airport.svg|14px]]",
		["Oak"] = cta,
		["Oakley"] = cta,
		["Oak Park"] = {
			["Blue"] = blue,
			["Green"] = green,			
		},
		["Pulaski"] = {
			["Blue"] = blue,
			["Green"] = green,
			["Orange"] = orange,
			["Pink"] = pink,	
		},
		["Quincy"] = cta,
		["Racine"] = {
			["Blue"] = blue,
			["Green"] = green,			
		},
		["Ravenswood"] = cta,
		["Rockwell"] = cta,
		["Roosevelt"] = cta,
		["Rosemont"] = cta,
		["Sedgwick"] = cta,
		["Sheridan"] = cta,
		["Southport"] = cta,
		["State"] = cta,
		["Thorndale"] = cta,
		["Washington"] = {
			["Blue"] = blue,
			["Red"] = red,			
		},
		["Wellington"] = cta,
		["Western"] = {
			["Blue"] = {
				"Western station (CTA Blue Line O'Hare branch)",
				["Congress"] = "Western station (CTA Blue Line Congress branch)",				
			},
			["Brown"] = brown,
			["Orange"] = orange,
			["Pink"] = pink,				
		},
		["Wilson"] = cta,
		["Wrightwood"] = cta,
	},
	["lines"] = {
		["Blue"] = {
			["title"] = "[[Blue Line (CTA)|Blue Line]]",
			["color"] = "00A1DE",
			["left terminus"] = "O'Hare",
			["right terminus"] = "Forest Park",
			["types"] = {
				["Congress"] = {
					["title"] = "",
					["note-mid"] = "[[Blue Line (CTA)#Forest Park (Congress) Branch|Congress Branch]]",
				},
				["O'Hare"] = {
					["title"] = "",
					["note-mid"] = "[[Blue Line (CTA)#O'Hare Branch|O'Hare Branch]]",
				},
				["Special"] = {
					["title"] = "",
					["note-mid"] = "Various Special Services",
					["left terminus"] = {"Jefferson Park", "Rosemont"},
					["right terminus"] = {"UIC–Halsted", "Racine"},
				},
			},
		},
		["Brown"] = {
			["title"] = "[[Brown Line (CTA)|Brown Line]]",
			["color"] = "62361B",
			["left terminus"] = "Kimball",
			["right terminus"] = "Loop brown",
			["types"] = {
				["Special"] = {
					["title"] = "",
					["note-mid"] = "Various Special Services",
					["right terminus"] = "Midway",
				},
			}
		},
		["Congress"] = {
			["title"] = "[[Blue Line (CTA)#Congress Branch|Congress-Milwaukee Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Jefferson Park",
			["right terminus"] = "Desplaines",
		},
		["Douglas"] = {
			["title"] = "[[Blue Line (CTA)|Douglas-Milwaukee Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Jefferson Park",
			["right terminus"] = "Cicero-Berwyn",
		},
		["Englewood"] = {
			["title"] = "[[Green Line (CTA)|Englewood-Howard Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Howard",
			["right terminus"] = "Ashland",
		},
		["Evanston"] = {
			["title"] = "[[Purple Line (CTA)|Evanston Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Linden",
			["right terminus"] = "Howard",
			["types"] = {
				["Express"] = {
					["title"] = "",
					["note-mid"] = "Express",
					["left terminus"] = "Linden",
					["right terminus"] = "Loop purple",
				},
			},
		},
		["Green"] = {
			["title"] = "[[Green Line (CTA)|Green Line]]",
			["color"] = "009B3A",
			["left terminus"] = "Harlem/Lake",
			["right terminus"] = {"Ashland/63", "Cottage Grove"},
		},
		["Howard-Englewood-Jackson Park"] = {
			["title"] = "[[Red Line (CTA)|Howard-Englewood-Jackson Park Line]]",
			["color"] = "C60C30",
			["left terminus"] = "Howard",
			["right terminus"] = {"University", "Ashland"},
		},
		["Jackson"] = {
			["title"] = "[[Green Line (CTA)|Jackson Park-Howard Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Howard",
			["right terminus"] = "Jackson Park",
		},
		["Niles Center"] = {
			["title"] = "[[Yellow Line (CTA)|Niles Center Route]]",
			["color"] = "FFFFFF",
			["left terminus"] = "Skokie",
			["right terminus"] = "Howard",
		},
		["Orange"] = {
			["title"] = "[[Orange Line (CTA)|Orange Line]]",
			["color"] = "F9461C",
			["left terminus"] = "Midway",
			["right terminus"] = "Loop orange",
		},
		["Pink"] = {
			["title"] = "[[Pink Line (CTA)|Pink Line]]",
			["color"] = "E27EA6",
			["left terminus"] = "54th/Cermak",
			["right terminus"] = "Loop pink",
		},
		["Purple"] = {
			["title"] = "[[Purple Line (CTA)|Purple Line]]",
			["color"] = "522398",
			["left terminus"] = "Linden",
			["right terminus"] = "Howard",
		},
		["Ravenswood"] = {
			["title"] = "[[North Side Main Line|Ravenswood-Loop Line]]",
			["color"] = "1900c3",
			["left terminus"] = "Kimball",
			["right terminus"] = "Loop brown old",
		},
		["Red"] = {
			["title"] = "[[Red Line (CTA)|Red Line]]",
			["color"] = "C60C30",
			["left terminus"] = "Howard",
			["right terminus"] = "95th/Dan Ryan",
		},
		["Yellow"] = {
			["title"] = "[[Yellow Line (CTA)|Yellow Line]]",
			["color"] = "F9E300",
			["left terminus"] = "Dempster–Skokie",
			["right terminus"] = "Howard",
		},
	},
	["aliases"] = {
		["evanstonx"] = "Evanston",
		["oldgreen"] = "Green",
		["purplex"] = "Purple",	
	},
}

return p