Module:Adjacent stations/DB Regio Mitte

local hbf = "%1 Hbf" local rw = "%1 railway station"

local p = { ["system title"] = "DB Regio Mitte", ["system icon"] = "", ["system icon format"] = "croute", ["station format"] = { "%1 station", ["Aschaffenburg"] = hbf, ["Bingen"] = hbf, ["Bingen (Rhein)"] = "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 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",

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