Module:Adjacent stations/DB Fernverkehr

Documentation for this module may be created at Module:Adjacent stations/DB Fernverkehr/doc

local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local rws = "%1 railway station"

local p = {
	["system title"] = "[[DB Fernverkehr]]",
	["system icon"] = "[[File:Deutsche_Bahn_AG-Logo.svg|15px]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Aachen"] = hbf,
		["Almelo"] = rws,
		["Amersfoort Centraal"] = rws,
		["Amsterdam"] = "[[Amsterdam Centraal railway station|Amsterdam Centraal]]",
		["Amsterdam Centraal"] = rws,
		["Apeldoorn"] = rws,
		["Arnhem Centraal"] = rws,
		["Aschaffenburg"] = hbf,
		["Augsburg"] = hbf,
		["Basel Bad Bf"] = "Basel Badischer Bahnhof",
		["Basel SBB"] = rws,
		["Berchtesgaden"] = hbf,
		["Berlin"] = hbf,
		["Bielefeld"] = hbf,
		["Bingen"] = "[[Bingen (Rhein) Hauptbahnhof|Bingen (Rhein) Hbf]]",
		["Bingen (Rhein)"] = hbf,
		["Binz"] = "[[Ostseebad Binz station|Ostseebad Binz]]",
		["Bochum"] = hbf,
		["Bologna"] = "[[Bologna Centrale railway station|Bologna]]",
		["Bonn"] = hbf,
		["Boppard"] = hbf,
		["Brandenburg"] = hbf,
		["Braunschweig"] = hbf,
		["Bregenz"] = rws,
		["Bremen"] = hbf,
		["Brussels-South"] = rws,
		["Brussels-North"] = rws,
		["Brussels"] = "[[Brussels-South railway station|Brussels]]",
		["Bruxelles-Midi"] = "[[Brussels-South railway station|Brussels]]",
		["Budapest"] = "[[Budapest Keleti station|Budapest]]",
		["Budapest Keleti"] = "[[Budapest Keleti station|Budapest]]",
		["Chemnitz"] = hbf,
		["Darmstadt"] = hbf,
		["Deventer"] = rws,
		["Dresden"] = hbf,
		["Dortmund"] = hbf,
		["Duisburg"] = hbf,
		["Düsseldorf"] = hbf,
		["Eberswalde"] = hbf,
		["Emden"] = hbf,
		["Erfurt"] = hbf,
		["Essen"] = hbf,
		["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt (Main) Hbf]]",
		["Frankfurt (Main)"] = hbf,
		["Frankfurt Airport"] = "[[Frankfurt Airport long-distance station|Frankfurt Airport]]",
		["Freiburg"] = hbf,
		["Fürth"] = hbf,
		["Gelsenkirchen"] = hbf,
		["Gera"] = hbf,
		["Graz"] = hbf,
		["Gütersloh"] = hbf,
		["Hagen"] = hbf,
		["Halle (Saale)"] = hbf,
		["Hamburg"] = hbf,
		["Hamm (Westf)"] = hbf,
		["Hanau"] = hbf,
		["Hannover"] = hbf,
		["Heidelberg"] = hbf,
		["Hengelo"] = rws,
		["Hildesheim"] = hbf,
		["Hilversum"] = rws,
		["Husum"] = "[[%1 station (Germany)|%1]]",
		["Ingolstadt"] = hbf,
		["Innsbruck"] = hbf,
		["Jenbach"] = rws,
		["Kaiserslautern"] = hbf,
		["Karlsruhe"] = hbf,
		["Kempten"] = hbf,
		["Kiel"] = hbf,
		["Klagenfurt"] = hbf,
		["Koblenz"] = hbf,
		["Köln"] = hbf,
		["Krefeld"] = hbf,
		["Kufstein"] = rws,
		["Leipzig"] = hbf,
		["Liège-Guillemins"] = rws,
		["Linz"] = hbf,
		["Lübeck"] = hbf,
		["Lutherstadt Wittenberg"] = hbf,
		["Luxemburg"] = [[Luxembourg railway station|Luxemburg]],
		["Magdeburg"] = hbf,
		["Mainz"] = hbf,
		["Milano"] = "[[Milano Centrale railway station|Milano Centrale]]",
		["Milano Centrale"] = rws,
		["Mönchengladbach"] = hbf,
		["München"] = hbf,
		["Münster"] = hbf,
		["Mannheim"] = hbf,
		["Mülheim (Ruhr)"] = hbf,
		["Naumburg (Saale)"] = hbf,
		["Neuss"] = hbf,
		["Neustrelitz"] = hbf,
		["Norden"] = "[[Norden station (Germany)|Norden]]",
		["Nürnberg"] = hbf,
		["Oberhausen"] = hbf,
		["Oldenburg"] = hbf,
		["Osnabrück"] = hbf,
		["Paderborn"] = hbf,
		["Paris Est"] = "Gare de l'Est",
		["Passau"] = hbf,
		["Pforzheim"] = hbf,
		["Potsdam"] = hbf,
		["Praha"] = "[[Praha hlavní nádraží|Praha]]",
		["Przemyśl Główny"] = rws,
		["Recklinghausen"] = hbf,
		["Regensburg"] = hbf,
		["Rheydt"] = hbf,
		["Rostock"] = hbf,
		["Saarbrücken"] = hbf,
		["Salzburg"] = hbf,
		["Schwerin"] = hbf,
		["Solingen"] = hbf,
		["Stendal"] = hbf,
		["Stralsund"] = hbf,
		["Stuttgart"] = hbf,
		["Trier"] = hbf,
		["Tübingen"] = hbf,
		["Ulm"] = hbf,
		["Utrecht Centraal"] = rws,
		["Venezia"] = "Venezia Santa Lucia",
		["Verona"] = "Verona Porta Nuova",
		["Wabern"] = "[[Wabern station (Hesse)|Wabern]]",
		["Wanne-Eickel"] = hbf,
		["Wien"] = hbf,
		["Wiesbaden"] = hbf,
		["Wolfsburg"] = hbf,
		["Worms"] = hbf,
		["Wörgl"] = hbf,
		["Wuppertal"] = hbf,
		["Würzburg"] = hbf,
		["Zürich"] = "[[Zürich Hauptbahnhof|Zürich HB]]",

		-- common English spellings
		["Cologne"] = "[[Köln Hauptbahnhof|Köln Hbf]]",
		["Munich"] = "[[München Hauptbahnhof|München Hbf]]",
		["Nuremberg"] = "[[Nürnberg Hauptbahnhof|Nürnberg Hbf]]",
		["Frankfurt Flughafen"] = "[[Frankfurt Airport long-distance station|Frankfurt Airport]]",
		["Prague"] = "[[Praha hlavní nádraží|Praha]]",
		["Vienna"] = "[[Wien Hauptbahnhof|Wien Hbf]]",
	},
	["lines"] = {
		["IC 14"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 14|IC 14]]",
			["short name"] = "IC 14",
			["color"] = "FF00FF",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Köln", "Aachen"},
			["right terminus"] = {"Ostseebad Binz", "Berlin Ostbahnhof"},
		},
		["IC 17"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 17|IC 17]]",
			["color"] = "660033",
			["left terminus"] = "Warnemünde",
			["right terminus"] = {"Chemnitz", "Wien"},
		},
		["IC 24"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 24|IC 24]]",
			["color"] = "FFA500",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Berchtesgaden",
		},
		["IC 24-Königssee"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#Line 24|IC 24]]",
			["note-mid"] = "''Königssee''",
			["color"] = "FFA500",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Berchtesgaden",
		},
		["IC 24-Königssee/Nebelhorn"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 24|IC 24]]",
			["note-mid"] = "''Königssee/​Nebelhorn''",
			["color"] = "FFA500",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = {"Berchtesgaden", "Oberstdorf"},
		},
		["IC 26"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 26|IC 26]]",
			["color"] = "A52A2A",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Hamburg",
		},
		["IC 27"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 27|IC/EC 27]]",
			["color"] = "6B8E23",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Hamburg-Altona", "Kiel", "Westerland"},
			["right terminus"] = {"Prague", "Budapest Keleti"},
		},
		["IC 28"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 28|IC 28]]",
			["color"] = "FF4500",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Berlin Südkreuz", "Nuremberg"},
			["right terminus"] = {"Binz", "Munich"},
		},
		["IC 30"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 30|IC/EC 30]]",
			["color"] = "d90600",
			["left terminus"] = "Stuttgart",
			["right terminus"] = "Hamburg",
		},
		["IC 31"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 31|IC 31]]",
			["color"] = "9ACD32",
			["left terminus"] = "Hamburg",
			["right terminus"] = "Frankfurt",
		},
		["IC 32"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 32|IC/EC 32]]",
			["short name"] = "IC/EC 32",
			["color"] = "61119a",
			["left terminus"] = {"Berlin", "Binz", "Münster", "Aachen"},
			["right terminus"] = {"Klagenfurt", "Innsbruck", "Oberstdorf", "Tübingen"},
		},
	    ["IC 34"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 34|IC 34]]",
			["color"] = "5E6DB3",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Siegen",
		},
		["IC 35"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 35|IC 35]]",
			["color"] = "231F20",
			["left terminus"] = "Emden",
			["right terminus"] = "Konstanz",
		},
	    ["IC 37"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 37|IC 37]]",
			["color"] = "EF9838",
			["left terminus"] = "Düsseldorf",
			["right terminus"] = "Luxemburg",
		},
		["IC 43"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 43|IC 43]]",
			["color"] = "FFFF00",
			["text color"] = "000000",
			["left terminus"] = "Binz",
			["right terminus"] = "Cologne",
		},
	    ["IC 51"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 51|IC 51]]",
			["color"] = "00BFFF",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Düsseldorf", "Cologne"},
			["right terminus"] = "Gera",
		},
		["IC 55"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 55|IC 55]]",
			["color"] = "4682B4",
			["text color"] = "FFFFFF",
			["left terminus"] = "Dresden",
			["right terminus"] = "Cologne",
		},
		["IC 56"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 56|IC 56]]",
			["color"] = "C71585",
			["left terminus"] = "Warnemünde",
			["right terminus"] = "Leipzig",
		},
		["IC 60"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 60|IC 60]]",
			["color"] = "008000",
			["left terminus"] = {"Basel SBB", "Karlsruhe"},
			["right terminus"] = {"Salzburg", "München"},
		},
		["IC 61"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 61|IC 61]]",
			["color"] = "FF00FF",
			["text color"] = "FFFFFF",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = {"Leipzig", "Nürnberg"},
		},
	    ["IC 62"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 62|IC 62]]",
			["color"] = "00FFFF",
			["left terminus"] = {"Frankfurt (Main)", "Saarbrücken"},
			["right terminus"] = {"Graz", "Klagenfurt"},
		},
		["IC 75"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 75|IC 75]]",
			["color"] = "0070c0",
			["left terminus"] = "Hamburg",
			["right terminus"] = "Copenhagen Central",
		},			
		["IC 76"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 76|IC 76]]",
			["color"] = "00b0f0",
			["right terminus"] = "Hamburg",
			["left terminus"] = "Aarhus Central",
		},
		["IC 77"] = {
			["title"] = "[[Intercity_(Deutsche_Bahn)#Line_77|IC 77]]",
			["color"] = "ffc000",
			["left terminus"] = "Amsterdam Centraal",
			["right terminus"] = "Berlin Ostbahnhof",
		},
		["IC 87"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 87|IC 87]]",
			["color"] = "0051ff",
			["left terminus"] = "Zürich",
			["right terminus"] = "Stuttgart",
		},
		["EC 27"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 27|EC 27]]",
			["color"] = "6B8E23",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Hamburg-Altona", "Kiel", "Westerland"},
			["right terminus"] = {"Prague", "Budapest Keleti"},
		},
		["EC 30"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 30|EC 30]]",
			["color"] = "EB092D",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = {"Zürich", "Interlaken Ost"},
		},
		["EC 32"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 32|EC 32]]",
			["color"] = "61119a",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Klagenfurt",
		},
		["EC 43"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 43|EC 43]]",
			["color"] = "FFFF00",
			["text color"] = "000000",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = {"Zürich", "Interlaken Ost"},
		},
		["EC 62"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 62|EC/IC/RJ 62]]",
			["short name"] = "EC/IC/RJ 62",
			["color"] = "00FFFF",
			["left terminus"] = {"Frankfurt", "Saarbrücken"},
			["right terminus"] = {"Graz", "Klagenfurt"},
	   	},
		["EC 89"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 89|EC 89]]",
			["color"] = "8F1616",
			["left terminus"] = {"München"},
			["right terminus"] = {"Innsbruck", "Bologna", "Verona", "Venezia"},
		},
		["EC 95"] = {
			["title"] = "[[Intercity (Deutsche Bahn)#Line 95|EC 95]]",
			["color"] = "E8E800",
			["left terminus"] = "Berlin",
			["right terminus"] = {"Warszawa Wschodnia", "Gdynia Główna", "Przemyśl Główny"},
		},
		["ICE 2"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#2|ICE 2]]",
			["short name"] = "ICE 2",
			["color"] = "8B0000",
			["text color"] = "FFFFFF",
			["left terminus"] = "Düsseldorf",
			["right terminus"] = "München",
		},
		["ICE 4"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#4|ICE 4]]",
			["short name"] = "ICE 4",
			["color"] = "4682B4",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Darmstadt",
		},
		["ICE 9"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#9|ICE 9]]",
			["short name"] = "ICE 9",
			["color"] = "006666",
			["text color"] = "FFFFFF",
			["left terminus"] = "Bonn-Bad Godesberg",
			["right terminus"] = {"Berlin Südkreuz", "Berlin Ostkreuz"},
		},
		["ICE 10"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#10|ICE 10]]",
			["short name"] = "ICE 10",
			["color"] = "6495ED",
			["text color"] = "FFFFFF",
			["right terminus"] = "Berlin Ostbahnhof",
			["left terminus"] = {"Aachen", "Koblenz", "Oldenburg"},
		},
		["ICE 11"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#11|ICE 11]]",
			["short name"] = "ICE 11",
			["color"] = "ED1C24",
			["text color"] = "FFFFFF",
			["left terminus"] =  "Berlin Gesundbrunnen",
			["right terminus"] = "Innsbruck"
		},
		["ICE 12"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#12|ICE 12]]",
			["short name"] = "ICE 12",
			["color"] = "8ED8F8",
			["left terminus"] = "Interlaken Ost",
			["right terminus"] = "Berlin Ostbahnhof",
		},
		["ICE 13"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#13|ICE 13]]",
			["short name"] = "ICE 13",
			["color"] = "7B68EE",
			["text color"] = "FFFFFF",
			["left terminus"] = "Frankfurt Airport",
			["right terminus"] = "Berlin Ostbahnhof",
		},
		["ICE 14"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#14|ICE 14]]",
			["short name"] = "ICE 14",
			["color"] = "FF00FF",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Köln", "Aachen"},
			["right terminus"] = {"Ostseebad Binz", "Berlin Ostbahnhof"},
		},
		 ["ICE 15"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#15|ICE 15]]",
			["short name"] = "ICE 15",
			["color"] = "C0C0C0",
			["text color"] = "000000",
			["left terminus"] = {"Saarbrücken", "Stuttgart"},
			["right terminus"] = {"Berlin Gesundbrunnen", "Hamburg-Altona"},
		},
		["ICE 18"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#20|ICE 18]]",
			["short name"] = "ICE 18",
			["color"] = "FFFF00",
			["text color"] = "000000",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "München",
		},
		["ICE 20"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#20|ICE 20]]",
			["short name"] = "ICE 20",
			["color"] = "006400",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Chur",
		},
		["ICE 22"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#22|ICE 22]]",
			["short name"] = "ICE 22",
			["color"] = "FFB6C1",
			["left terminus"] = {"Kiel", "Neumünster", "Hamburg-Altona", "Oldenburg"},
			["right terminus"] = {"Stuttgart"},
		},
		["ICE 24"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#24|ICE 24]]",
			["short name"] = "ICE 24",
			["color"] = "FFA500",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Oberstdorf",
		},
		["ICE 25"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#25|ICE 25]]",
			["color"] = "6B8E23",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "München",
		},
		["ICE 26"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#26|ICE 26]]",
			["short name"] = "ICE 26",
			["color"] = "A52A2A",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Hamburg",
		},
		["ICE 27"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#27|ICE 27]]",
			["color"] = "6B8E23",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Hamburg-Altona", "Kiel", "Westerland"},
			["right terminus"] = {"Prague", "Budapest Keleti"},
		},
		["ICE 28"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#28|ICE 28]]",
			["short name"] = "ICE 28",
			["color"] = "FF4500",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Hamburg-Altona", "Ostseebad Binz"},
			["right terminus"] = {"Jena Paradies", "München"},
		},
		["ICE 29"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#29|ICE 29]]",
			["short name"] = "ICE 29",
			["color"] = "8A2BE2",
			["left terminus"] = "Hamburg",
			["right terminus"] = "München",
		},
		 ["ICE 30"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#30|ICE 30]]",
			["short name"] = "ICE 30",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Stuttgart", "Offenburg",
		},
		["ICE 31"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#31|ICE 31]]",
			["short name"] = "ICE 31",
			["color"] = "ED1C24",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona", "Kiel",
			["right terminus"] = "Passau",
		},
		["ICE 32"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#32|ICE 32]]",
			["short name"] = "ICE 32",
			["color"] = "61119a",
			["left terminus"] = {"Berlin Ostbahnhof", "Norddeich Mole"},
			["right terminus"] = "Innsbruck",
		},
		["ICE 35"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#35|ICE 35]]",
			["short name"] = "ICE 35",
			["color"] = "231F20",
			["left terminus"] = "Norddeich Mole",
			["right terminus"] = "Stuttgart",
		},
		 ["ICE 39"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#39|ICE 39]]",
			["short name"] = "ICE 39",
			["color"] = "808080",
			["text color"] = "FFFFFF",
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Passau",
		},
		 ["ICE 41"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#41|ICE 41]]",
			["short name"] = "ICE 41",
			["color"] = "800000",
			["left terminus"] = {"Dortmund", "Essen"},
			["right terminus"] = {"München", "Garmisch-Partenkirchen"},
		},
		["ICE 42"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#42|ICE 42]]",
			["short name"] = "ICE 42",
			["color"] = "32CD32",
			["left terminus"] = {"Hamburg-Altona", "Dortmund"},
			["right terminus"] = "München",
		},
		["ICE 43"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#43|ICE 43]]",
			["short name"] = "ICE 43",
			["color"] = "FFFF00",
			["text color"] = "000000",
			["left terminus"] = {"Hamburg-Altona", "Amsterdam Centraal"},
			["right terminus"] = "Basel SBB",
		},
		["ICE 45"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#45|ICE 45]]",
			["short name"] = "ICE 45",
			["color"] = "ADFF2F",
			["left terminus"] = "Köln",
			["right terminus"] = {"Stuttgart", "Frankfurt"},
		},
		["ICE 47"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#47|ICE 47]]",
			["short name"] = "ICE 47",
			["color"] = "00008B",
			["left terminus"] = "Dortmund",
			["right terminus"] = "München",
		},
		["ICE 49"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#49|ICE 49]]",
			["short name"] = "ICE 49",
			["color"] = "A78B6B",
			["text color"] = "FFFFFF",
			["left terminus"] = "Cologne",
			["right terminus"] = "Frankfurt",
		},
		["ICE 50"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#50|ICE 50]]",
			["short name"] = "ICE 50",
			["color"] = "231F20",
			["left terminus"] = "Dresden",
			["right terminus"] = "Wiesbaden",
		},
		["ICE 60"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#60|ICE 60]]",
			["short name"] = "ICE 60",
			["color"] = "008000",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "München",
		},
		["ICE 62"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#62|ICE/RJX 62]]",
			["short name"] = "ICE/RJX 62",
			["color"] = "00FFFF",
			["left terminus"] = "München",
			["right terminus"] = "Klagenfurt",
		},
		["ICE 78"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#78|ICE 78]]",
			["short name"] = "ICE 78",
			["color"] = "FF0000",
			["text color"] = "FFFFFF",
			["left terminus"] = "Amsterdam Centraal",
			["right terminus"] = "Frankfurt",
		},
		["ICE 79"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#79|ICE 79]]",
			["short name"] = "ICE 79",
			["color"] = "B0C4DE",
			["left terminus"] = "Brussels-South",
			["right terminus"] = "Frankfurt",
		},
		["ICE 82"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#82|ICE/TGV 82]]",
			["short name"] = "ICE/TGV 82",
			["color"] = "FF00FF",
			["text color"] = "FFFFFF",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Paris Est",
		},
		["ICE 83"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#83|ICE/TGV 83]]",
			["short name"] = "ICE/TGV 83",
			["color"] = "A7A9AC",
			["left terminus"] = "Paris Est",
			["right terminus"] = "München",
		},
		["ICE 84"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#84|ICE/TGV 84]]",
			["short name"] = "ICE/TGV 84",
			["color"] = "808000",
			["text color"] = "FFFFFF",
			["left terminus"] = "Marseille",
			["right terminus"] = "Frankfurt",
		},
		["ICE 85"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#85|ECE 85]]",
			["short name"] = "ECE 85",
			["color"] = "008000",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Milano",
		},
		["ICE 88"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#88|ECE 88]]",
			["short name"] = "ECE 88",
			["color"] = "FF00FF",
			["text color"] = "FFFFFF",
			["left terminus"] = "Zürich",
			["right terminus"] = "München",
		},
		["ICE 89"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#89|ICE 89]]",
			["short name"] = "ICE 89",
			["color"] = "901058",
			["left terminus"] = "München",
			["right terminus"] = "Kufstein",
		},
		["ICE 90"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#90|ICE/RJX 90]]",
			["short name"] = "ICE/RJX 90",
			["color"] = "FF0000",
			["text color"] = "FFFFFF",
			["left terminus"] = "München", "Frankfurt (Main)",
			["right terminus"] = "Budapest Keleti",
		},
		["ICE 91"] = {
			["title"] = "[[List of Intercity-Express lines in Germany#91|ICE 91]]",
			["short name"] = "ICE 91",
			["color"] = "8ED8F8",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Wien",
		},
		["IC"] = {
			["title"] = "",
			["types"] = {
				["17"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 17|IC 17]]",
					["color"] = "660033",
					["left terminus"] = "Warnemünde",
					["right terminus"] = {"Chemnitz", "Wien"},
				},
				["24"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#24|IC 24]]",
					["color"] = "231F20",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Berchtesgaden",
				},
				["24-Königssee"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#24|IC 24]]",
					["note-mid"] = "''Königssee''",
					["color"] = "231F20",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Berchtesgaden",
				},
				["24-Königssee/Nebelhorn"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#24|IC 24]]",
					["note-mid"] = "''Königssee/​Nebelhorn''",
					["color"] = "231F20",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = {"Berchtesgaden", "Oberstdorf"},
				},
				["26"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#26|IC 26]]",
					["color"] = "231F20",
					["left terminus"] = "Karlsruhe",
					["right terminus"] = "Hamburg",
				},
				["30"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 30|IC/EC 30]]",
					["color"] = "DF0024",
					["left terminus"] = "Stuttgart",
					["right terminus"] = "Hamburg",
				},
			    ["31"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 31|IC 31]]",
					["color"] = "C2DD4B",
					["left terminus"] = "Hamburg",
					["right terminus"] = "Frankfurt",
				},
			    ["32"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 32|IC/EC 32]]",
					["color"] = "5E6DB3",
					["left terminus"] = {"Berlin", "Binz", "Münster", "Aachen"},
					["right terminus"] = {"Klagenfurt", "Innsbruck", "Oberstdorf", "Tübingen"},
				},
			    ["34"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 34|IC 34]]",
					["color"] = "5E6DB3",
					["left terminus"] = "Frankfurt",
					["right terminus"] = "Siegen",
				},
				["35"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 35|IC 35]]",
					["color"] = "B6DDF7",
					["left terminus"] = "Emden",
					["right terminus"] = "Konstanz",
				},
				    ["50"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 50|IC 50]]",
					["color"] = "009F3D",
					["left terminus"] = "Gera", "Leipzig",
					["right terminus"] = "Cologne",
				},
				    ["51"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 50|IC 51]]",
					["color"] = "009F3D",
					["left terminus"] = "Gera",
					["right terminus"] = {"Düsseldorf", "Cologne"},
				},
				  ["55"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 55|IC 55]]",
					["color"] = "BB007C",
					["left terminus"] = "Dresden",
					["right terminus"] = "Cologne",
				},
			    ["56"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 56|IC 56]]",
					["color"] = "EF9838",
					["left terminus"] = "Warnemünde",
					["right terminus"] = "Leipzig",
				},
			    ["62"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 62|IC 62]]",
					["color"] = "BABABA",
					["left terminus"] = {"Frankfurt (Main)", "Saarbrücken"},
					["right terminus"] = {"Graz", "Klagenfurt"},
				},
				["75"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 75|IC 75]]",
					["color"] = "B8A17F",
					["left terminus"] = "Hamburg",
					["right terminus"] = "Copenhagen Central",
				},			
				["76"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 76|IC 76]]",
					["color"] = "0094D9",
					["right terminus"] = "Hamburg",
					["left terminus"] = "Aarhus Central",
				},
				["77"] = {
					["title"] = "[[Intercity_(Deutsche_Bahn)#Line_77|IC 77]]",
					["color"] = "B8A17F",
					["left terminus"] = "Amsterdam Centraal",
					["right terminus"] = "Berlin Ostbahnhof",
				},
				["87"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 87|IC 87]]",
					["color"] = "0094D9",
					["left terminus"] = "Zürich",
					["right terminus"] = "Stuttgart",
				},
		
			},
		},
	    ["EC"] = {
			["title"] = "",
			["types"] = {
				["27"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 27|EC 27]]",
					["color"] = "BABABA",
					["left terminus"] = {"Hamburg-Altona", "Kiel", "Westerland"},
					["right terminus"] = {"Prague", "Budapest Keleti"},
				},
				["30"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 30|EC 30]]",
					["color"] = "DF0024",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = {"Zürich", "Interlaken Ost"},
				},
				["32"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 32|EC 32]]",
					["color"] = "5E6DB3",
					["left terminus"] = "Dortmund",
					["right terminus"] = "Klagenfurt",
				},
			    ["62"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 62|EC/IC 62]]",
					["color"] = "BABABA",
					["left terminus"] = {"Frankfurt", "Saarbrücken"},
					["right terminus"] = {"Graz", "Klagenfurt"},
	         	},
	            ["89"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 89|EC 89]]",
					["color"] = "EF9838",
					["left terminus"] = {"München"},
					["right terminus"] = {"Innsbruck", "Bologna", "Verona", "Venezia"},
				},
				    ["95"] = {
					["title"] = "[[Intercity (Deutsche Bahn)#Line 95|EC 95]]",
					["color"] = "E8E800",
					["left terminus"] = "Berlin",
					["right terminus"] = {"Warszawa Wschodnia", "Gdynia Główna", "Przemyśl Główny"},
	         	}
			},
		},
		["ICE"] = {
			["title"] = "",
			["types"] = {
				["2"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#2|ICE 2]]",
					["short name"] = "ICE 2",
					["color"] = "6d0b3c",
					["left terminus"] = "Düsseldorf",
					["right terminus"] = "München",
				},
				["10"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#10|ICE 10]]",
					["short name"] = "ICE 10",
					["color"] = "0070c0",
					["right terminus"] = "Berlin Ostbahnhof",
					["left terminus"] = {"Aachen", "Koblenz", "Oldenburg"},
				},
				["11"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#11|ICE 11]]",
					["short name"] = "ICE 11",
					["color"] = "66ff99",
					["left terminus"] =  "Berlin Gesundbrunnen",
					["right terminus"] = "Innsbruck"
				},
			    ["12"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#12|ICE 12]]",
					["short name"] = "ICE 12",
					["color"] = "996633",
					["left terminus"] = "Interlaken Ost",
					["right terminus"] = "Berlin Ostbahnhof",
				},
				["13"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#13|ICE 13]]",
					["short name"] = "ICE 13",
					["color"] = "b3a2c7",
					["left terminus"] = "Frankfurt Airport",
					["right terminus"] = "Berlin Ostbahnhof",
				},
			    ["14"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#14|ICE 14]]",
					["short name"] = "ICE 14",
					["color"] = "ff00ff",
					["left terminus"] = {"Köln", "Aachen"},
					["right terminus"] = {"Ostseebad Binz", "Berlin Ostbahnhof"},
				},
				 ["15"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#15|ICE 15]]",
					["short name"] = "ICE 15",
					["color"] = "a6a6a6",
					["left terminus"] = {"Saarbrücken", "Stuttgart"},
					["right terminus"] = {"Berlin Gesundbrunnen", "Hamburg-Altona"},
				},
				["18"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#20|ICE 18]]",
					["short name"] = "ICE 18",
					["color"] = "ffff00",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "München",
				},
				["20"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#20|ICE 20]]",
					["short name"] = "ICE 20",
					["color"] = "DFBF00",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Chur",
				},
			    ["22"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#22|ICE 22]]",
					["short name"] = "ICE 22",
					["color"] = "00c20f",
					["left terminus"] = {"Kiel", "Neumünster", "Hamburg-Altona", "Oldenburg"},
					["right terminus"] = {"Stuttgart"},
				},
			    ["24"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#24|ICE 24]]",
					["short name"] = "ICE 24",
					["color"] = "231F20",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Oberstdorf",
				},
			    ["25"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#25|ICE 25]]",
					["color"] = "5c0058",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "München",
				},
				["26"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#26|ICE 26]]",
					["short name"] = "ICE 26",
					["color"] = "231F20",
					["left terminus"] = "Karlsruhe",
					["right terminus"] = "Hamburg",
				},
			    ["28"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#28|ICE 28]]",
					["short name"] = "ICE 28",
					["color"] = "e46c0a",
					["left terminus"] = {"Hamburg-Altona", "Ostseebad Binz"},
					["right terminus"] = {"Jena Paradies", "München"},
				},
			    ["29"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#29|ICE 29]]",
					["short name"] = "ICE 29",
					["color"] = "c6b717",
					["left terminus"] = "Hamburg",
					["right terminus"] = "München",
				},
				 ["30"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#30|ICE 30]]",
					["short name"] = "ICE 31",
					["color"] = "ff0000",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Stuttgart", "Offenburg",
				},
			    ["31"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#31|ICE 31]]",
					["short name"] = "ICE 31",
					["color"] = "ff0000",
					["left terminus"] = "Hamburg-Altona", "Kiel",
					["right terminus"] = "Passau",
				},
			    ["39"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#20|ICE 39]]",
					["short name"] = "ICE 39",
					["color"] = "ff0000",
					["left terminus"] = "Hamburg-Altona",
					["right terminus"] = "Köln",
				},
			    ["41"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#41|ICE 41]]",
					["short name"] = "ICE 41",
					["color"] = "c00000",
					["left terminus"] = {"Dortmund", "Essen"},
					["right terminus"] = {"München", "Garmisch-Partenkirchen"},
				},
			    ["42"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#42|ICE 42]]",
					["short name"] = "ICE 42",
					["color"] = "ffa5fd",
					["left terminus"] = {"Hamburg-Altona", "Dortmund"},
					["right terminus"] = "München",
				},
				["43"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#43|ICE 43]]",
					["short name"] = "ICE 43",
					["color"] = "ffff00",
					["left terminus"] = {"Hamburg-Altona", "Amsterdam Centraal"},
					["right terminus"] = "Basel SBB",
				},
				["45"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#45|ICE 45]]",
					["short name"] = "ICE 45",
					["color"] = "99cc00",
					["left terminus"] = "Köln",
					["right terminus"] = "Stuttgart",
				},
				["47"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#47|ICE 47]]",
					["short name"] = "ICE 47",
					["color"] = "B41E8E",
					["left terminus"] = "Dortmund",
					["right terminus"] = "Stuttgart",
				},
				["49"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#49|ICE 49]]",
					["short name"] = "ICE 49",
					["color"] = "00b050",
					["left terminus"] = "Cologne",
					["right terminus"] = "Frankfurt",
				},
				["50"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#50|ICE 50]]",
					["short name"] = "ICE 50",
					["color"] = "231F20",
					["left terminus"] = "Dresden",
					["right terminus"] = "Wiesbaden",
				},
		    	["60"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#60|ICE 60]]",
					["short name"] = "ICE 60",
					["color"] = "289010",
					["left terminus"] = "Karlsruhe",
					["right terminus"] = "München",
				},
				["62"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#62|ICE 62]]",
					["short name"] = "ICE 62",
					["color"] = "effe07",
					["left terminus"] = "München",
					["right terminus"] = "Klagenfurt",
				},
		        ["78"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#78|ICE 78]]",
					["short name"] = "ICE 78",
					["color"] = "ff0000",
					["left terminus"] = "Amsterdam Centraal",
					["right terminus"] = "Frankfurt",
				},
			    ["79"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#79|ICE 79]]",
					["short name"] = "ICE 79",
					["color"] = "4bacc6",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Frankfurt",
				},
			
				["82"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#82|ICE/TGV 82]]",
					["short name"] = "ICE/TGV 83",
					["color"] = "b2b9bc",
					["left terminus"] = "Frankfurt",
					["right terminus"] = "Paris Est",
				},
			    ["83"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#83|ICE/TGV 83]]",
					["short name"] = "ICE/TGV 83",
					["color"] = "b2b9bc",
					["left terminus"] = "Paris Est",
					["right terminus"] = "München",
				},
			    ["84"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#84|ICE/TGV 84]]",
					["short name"] = "ICE/TGV 84",
					["color"] = "b2b9bc",
					["left terminus"] = "Marseille",
					["right terminus"] = "Frankfurt",
				},
			    ["85"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#88|ECE 85]]",
					["short name"] = "ECE 85",
					["color"] = "06723B",
					["left terminus"] = "Frankfurt",
					["right terminus"] = "Milano",
				},
			    ["88"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#88|ECE 88]]",
					["short name"] = "ECE 88",
					["color"] = "00c20f",
					["left terminus"] = "Zürich",
					["right terminus"] = "München",
				},
			    ["89"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#89|ICE 89]]",
					["short name"] = "ICE 89",
					["color"] = "901058",
					["left terminus"] = "München",
					["right terminus"] = "Kufstein",
				},
				["90"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#90|ICE/RJX 90]]",
					["short name"] = "ICE/RJX 90",
					["color"] = "1417ff",
					["left terminus"] = "München", "Frankfurt (Main)",
					["right terminus"] = "Budapest Keleti",
				},
				    ["91"] = {
					["title"] = "[[List of Intercity-Express lines in Germany#91|ICE 91]]",
					["short name"] = "ICE 91",
					["color"] = "8ED8F8",
					["left terminus"] = "Frankfurt",
					["right terminus"] = "Wien",
				},
			}
		},
	},
}

return p