Jump to content

Module:Adjacent stations/DB Regio Mitte

From Wikipedia, the free encyclopedia

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

local p = {
	["system title"] = "[[DB Regio Mitte]]",
	["system icon"] = "[[File:Deutsche_Bahn_AG-Logo.svg|15px]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Aschaffenburg"] = hbf,
		["Bingen"] = hbf,
		["Bingen (Rhein)"] = "[[Bingen Hauptbahnhof|Bingen Hbf]]",
		["Boppard"] = hbf,
		["Darmstadt"] = hbf,
		["Frankenthal"] = hbf,
		["Frankfurt (Main)"] = hbf,
		["Freudenstadt"] = hbf,
		["Gießen"] = rw,
		["Hanau"] = hbf,
		["Heidelberg"] = hbf,
		["Heilbronn"] = hbf,
		["Homburg (Saar)"] = hbf,
		["Karlsruhe"] = hbf,
		["Kaiserslautern"] = hbf,
		["Kassel"] = hbf,
		["Koblenz"] = hbf,
		["Landau (Pfalz)"] = hbf,
		["Ludwigshafen"] = hbf,			
		["Ludwigshafen (Rhein)"] = "[[Ludwigshafen Hauptbahnhof|Ludwigshafen Hbf]]",
		["Luxembourg"] = rw,
		["Mainz"] = hbf,
		["Mannheim"] = hbf,
		["Neustadt (Weinstraße)"] = hbf,
		["Offenbach (Main)"] = hbf,
		["Pirmasens"] = hbf,
		["Saarbrücken"] = hbf,
		["Saarlouis"] = hbf,
		["Speyer"] = hbf,
		["Trier"] = hbf,
		["Wabern"] = "Wabern station (Hesse)",
		["Wiesbaden"] = hbf,
		["Wittlich"] = hbf,
		["Worms"] = hbf,

		-- long names
		["Heidelberg-Pfaffengrund/Wieblingen"] = "[[Heidelberg-Pfaffengrund/Wieblingen station|Heidelberg-Pfaffengrund/​Wieblingen]]",

		-- common English spellings
		["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt (Main) Hbf]]",
		["Frankfurt Flughafen"] = "[[Frankfurt Airport long-distance station|Frankfurt Airport]]",
		["Offenbach"] = "[[Offenbach (Main) Hauptbahnhof|Offenbach (Main) Hbf]]",
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		-- RB
		["RB 22"] = {
			["title"] = "[[List of railway routes in Hesse|RB 22]]",
			["color"] = "ec1d24",
			["left terminus"] = "Limburg (Lahn)",
			["right terminus"] = "Frankfurt (Main)",
		},
		["RB 23"] = {
			["title"] = "[[List of railway routes in Hesse|RB 23]]",
			["color"] = "01c1f2",
			["left terminus"] = "Mayen Ost",
			["right terminus"] = "Limburg (Lahn)",
		},
		["RB 34"] = {
			["title"] = "[[List of railway routes in Hesse|RB 34]]",
			["color"] = "007dc5",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Glauburg-Stockheim",
		},
		["RB 35"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 35]]",
			["color"] = "00519E",
			["left terminus"] = "Bingen Stadt",
			["right terminus"] = "Worms",
		},
		["RB 38"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 38]]",
			["color"] = "00519E",
			["left terminus"] = "Kaisersesch",
			["right terminus"] = "Andernach",
		},
		["RB 40"] = {
			["title"] = "[[List of railway routes in Hesse|RB 40]]",
			["color"] = "91268f",
			["left terminus"] = "Dillenburg",
			["right terminus"] = "Frankfurt (Main)",
		},
		["RB 41"] = {
			["title"] = "[[List of railway routes in Hesse|RB 41]]",
			["color"] = "91268f",
			["left terminus"] = "Treysa",
			["right terminus"] = "Frankfurt (Main)",
		},
		["RB 41 (BW)"] = {
			["title"] = "[[List of regional railway routes in Baden-Württemberg|RB 41]]",
			["short name"] = "RB 41",
			["color"] = "007a80",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Forbach",
		},
		["RB 44"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 44]]",
			["color"] = "999999",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = {"Rastatt", "Achern"},
		},
		["RB 45"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 45]]",
			["color"] = "94c11f",
			["left terminus"] = "Neustadt (Weinstraße)",
			["right terminus"] = "Monsheim",
		},
		["RB 46"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 46]]",
			["color"] = "00519E",
			["left terminus"] = "Frankenthal",
			["right terminus"] = "Eiswoog",
		},
		["RB 48"] = {
			["title"] = "[[List of railway routes in Hesse|RB 48]]",
			["color"] = "e4a024",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Nidda",
		},
		["RB 49"] = {
			["title"] = "[[List of railway routes in Hesse|RB 49]]",
			["color"] = "007dc5",
			["left terminus"] = "Gießen",
			["right terminus"] = "Hanau",
		},
		["RB 51 (HE)"] = {
			["title"] = "[[List of railway routes in Hesse|RB 51]]",
			["short name"] = "RB 51",
			["color"] = "00519E",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Wächtersbach",
		},
		["RB 51 (RP)"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 51]]",
			["short name"] = "RB 51",
			["color"] = "007758",
			["left terminus"] = "Neustadt (Weinstraße)",
			["right terminus"] = "Karlsruhe",
		},
		["RB 52"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 52]]",
			["color"] = "46b384",
			["left terminus"] = "Wörth (Rhein)",
			["right terminus"] = "Lauterbourg",
		},
		["RB 53"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 53]]",
			["color"] = "40a535",
			["left terminus"] = "Neustadt (Weinstraße)",
			["right terminus"] = "Wissembourg",
		},
		["RB 54"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 54]]",
			["color"] = "94c11f",
			["text color"] = "000000",
			["left terminus"] = "Bad Bergzabern",
			["right terminus"] = "Winden (Pfalz)",
		},
		["RB 55"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 55]]",
			["color"] = "00519E",
			["left terminus"] = "Pirmasens",
			["right terminus"] = "Landau (Pfalz)",
		},
		["RB 56"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 50–59|RB 56]]",
			["color"] = "00519E",
			["left terminus"] = "Hinterweidenthal Ost",
			["right terminus"] = "Bundenthal-Rumbach",
		},
		["RB 61"] = {
			["title"] = "[[List of railway routes in Hesse|RB 61]]",
			["color"] = "007dc5",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Dieburg",
		},
		["RB 62"] = {
			["title"] = "[[List of railway routes in Hesse|RB 62]]",
			["color"] = "00519E",
			["left terminus"] = "Worms",
			["right terminus"] = "Biblis",
		},
		["RB 63"] = {
			["title"] = "[[List of railway routes in Hesse|RB 63]]",
			["color"] = "00519E",
			["left terminus"] = "Worms",
			["right terminus"] = "Bensheim",
		},
		["RB 64"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 64]]",
			["color"] = "94c11f",
			["left terminus"] = "Pirmasens",
			["right terminus"] = "Kaiserslautern",
		},
		["RB 65"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 65]]",
			["color"] = "00a984",
			["left terminus"] = "Kaiserslautern",
			["right terminus"] = "Bingen",
		},
		["RB 66"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 66]]",
			["color"] = "94c11f",
			["left terminus"] = "Lauterecken-Grumbach",
			["right terminus"] = "Kaiserslautern",
		},
		["RB 67 (HE)"] = {
			["title"] = "[[List of railway routes in Hesse|RB 67]]",
			["short name"] = "RB 67",
			["color"] = "e4a024",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = {"Mannheim", "Hockenheim"},
		},
		["RB 67 (RP)"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 67]]",
			["short name"] = "RB 67",
			["color"] = "007758",
			["left terminus"] = "Kusel",
			["right terminus"] = "Kaiserslautern",
		},
		["RB 68 (HE)"] = {
			["title"] = "[[List of railway routes in Hesse|RB 68]]",
			["short name"] = "RB 68",
			["color"] = "e4a024",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Wiesloch-Walldorf",
		},
		["RB 68 (RP)"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 68]]",
			["short name"] = "RB 68",
			["color"] = "46b384",
			["left terminus"] = "Saarbrücken",
			["right terminus"] = "Pirmasens",
		},
		["RB 69"] = {
			["title"] = "[[List of railway routes in Hesse|RB 69]]",
			["color"] = "007dc5",
			["left terminus"] = "Weinheim (Bergstraße)",
			["right terminus"] = "Fürth (Odenw)",
		},
		["RB 70"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 70]]",
			["color"] = "40a535",
			["left terminus"] = "Merzig (Saar)",
			["right terminus"] = "Kaiserslautern",
		},
		["RB 71"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 71]]",
			["color"] = "005321",
			["left terminus"] = "Trier",
			["right terminus"] = "Homburg (Saar)",
		},
		["RB 75"] = {
			["title"] = "[[List of railway routes in Hesse|RB 75]]",
			["color"] = "007dc5",
			["left terminus"] = "Wiesbaden",
			["right terminus"] = "Aschaffenburg",
		},
		["RB 77"] = {
			["title"] = "[[Regiobahn|RB 77]]",
			["color"] = "94c11f",
			["left terminus"] = "Niedaltdorf",
			["right terminus"] = "Dillingen (Saar)",
		},
		["RB 81"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 81]]",
			["color"] = "ec1d24",
			["left terminus"] = "Trier",
			["right terminus"] = "Koblenz",
		},
		["RB 82"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 82]]",
			["color"] = "92a850",
			["left terminus"] = "Perl",
			["right terminus"] = "Trier",
		},
		["RB 83"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RB 83]]",
			["color"] = "1a5b52",
			["left terminus"] = "Luxembourg",
			["right terminus"] = "Wittlich",
		},
		-- RE
		["RE 1"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 1]]",
			["color"] = "bf1438",
			["note-mid"] = "Südwest-Express",
			["left terminus"] = "Koblenz",
			["right terminus"] = "Mannheim",
		},
		["RE 2"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 2]]",
			["color"] = "e4a024",
			["note-mid"] = "Südwest-Express",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Koblenz",
		},
		["RE 4"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 4]]",
			["color"] = "91268f",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Karlsruhe",
		},
		["RE 5"] = {
			["title"] = "[[List of railway routes in Hesse|RE 5]]",
			["color"] = "ec1d24",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Bebra",
		},
		["RE 6"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 6]]",
			["color"] = "e84e0f",
			["left terminus"] = "Kaiserslautern",
			["right terminus"] = "Karlsruhe",
		},
		["RE 7"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 7]]",
			["color"] = "ed6e19",
			["left terminus"] = "Ludwigshafen (Rhein)",
			["right terminus"] = "Freudenstadt",
		},
		["RE 11"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 11]]",
			["color"] = "e30613",
			["left terminus"] = "Luxembourg",
			["right terminus"] = "Koblenz",
		},
		["RE 14"] = {
			["title"] = "[[List of railway routes in Hesse|RE 14]]",
			["color"] = "91268f",
			["note-mid"] = "Südwest-Express",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Mannheim",
		},
		["RE 16"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 16]]",
			["note-mid"] = "Limited service",
			["color"] = "c6c6c6",
			["left terminus"] = "Metz-Ville",
			["right terminus"] = "Trier",
		},
		["RE 20"] = {
			["title"] = "[[List of railway routes in Hesse|RE 20]]",
			["color"] = "ec1d24",
			["left terminus"] = "Limburg (Lahn)",
			["right terminus"] = "Frankfurt (Main)",
		},
		["RE 21"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 21]]",
			["color"] = "ec1d24",
			["left terminus"] = "Koblenz",
			["right terminus"] = {"Worth", "Karlsruhe"},
		},
		["RE 25"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate|RE 25]]",
			["color"] = "007dc5",
			["left terminus"] = "Koblenz",
			["right terminus"] = "Gießen",
		},
		["RE 30"] = {
			["title"] = "[[List of railway routes in Hesse|RE 30]]",
			["color"] = "ec1d24",
			["left terminus"] = "Kassel",
			["right terminus"] = "Frankfurt (Main)",
		},
		["RE 40"] = {
			["title"] = "[[List of regional railway routes in Baden-Württemberg|RE 40]]",
			["color"] = "E2001A",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Freudenstadt",
		},
		["RE 45"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg|RE 45]]",
			["color"] = "e6017d",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Heilbronn",
		},
		["RE 50"] = {
			["title"] = "[[List of railway routes in Hesse|RE 50]]",
			["color"] = "ec1d24",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Bebra",
		},
		["RE 60"] = {
			["title"] = "[[List of railway routes in Hesse|RE 60]]",
			["color"] = "e4a024",
			["text color"] = "FFFFFF",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Mannheim",
		},
		["RE 70"] = {
			["title"] = "[[List of rail services in Hesse|RE 70]]",
			["color"] = "ec1d24",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Mannheim",
		},
		["RE 73"] = {
			["title"] = "[[List of regional railway routes in Baden-Württemberg|RE 73]]",
			["color"] = "999999",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Heidelberg",
		},

		-- Disambiguation entries
		["RB 51"] = {
			["title"] = "[[RB 51]]",
			["color"] = "999999",
		},
		["RB 67"] = {
			["title"] = "[[RB 67]]",
			["color"] = "999999",
		},
		["RB 68"] = {
			["title"] = "[[RB 68]]",
			["color"] = "999999",
		},
	},
	["aliases"] = {
		["rb 53 (rp)"] = "RB 53",
	}
}

return p