Module:Adjacent stations/Rhine-Main S-Bahn

local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local fs = "Frankfurt %1 station"
local fds = "Frankfurt-%1 station"

local p = {
	["system title"] = "[[Rhine-Main S-Bahn]]",
	["system icon"] = "",
	["station format"] = {
		"%1 station",
		["Arheilgen"] = "Darmstadt-Arheilgen station",
		["Bad Soden"] = "Bad Soden (Taunus) station",
		["Darmstadt"] = hbf,
		["Eschersheim"] = fds,
		["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt Hbf]]",
		["Frankfurt (low level)"] = "[[Frankfurt (Main) Hauptbahnhof (low level)|Frankfurt Hbf]]",
		["Galluswarte"] = fs,
		["Griesheim"] = fds,
		["Hanau"] = hbf,
		["Hauptwache"] = fs,
		["Höchst"] = fds,
		["Höchst Farbwerke"] = fds,
		["Konstablerwache"] = fs,
		["Kronberg"] = "Kronberg (Taunus) station",
		["Langen"] = "Langen (Hess) station",
		["Lokalbahnhof"] = "Frankfurt Lokalbahnhof",
		["Mainz"] = hbf,
		["Mühlberg"] = fs,
		["Niederrad"] = fds,
		["Nied"] = fds,
		["Rödelheim"] = fds,
		["Sindlingen"] = fds,
		["Stresemannallee"] = fs,
		["Südbahnhof"] = "Frankfurt (Main) Süd station",
		["Taunusanlage"] = fs,
		["Ostendstraße"] = fs,
		["Wiesbaden"] = hbf,
		["Zeilsheim"] = fds
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[File:Frankfurt %1.svg|x16px|alt=|link=%1 (Rhine-Main S-Bahn)]]",
			["icon"] = "[[File:Frankfurt %1.svg|x15px|alt=|link=%1 (Rhine-Main S-Bahn)]]"
		},
		["S1"] = {
			["color"] = "0480b7",
			["left terminus"] = "Wiesbaden",
			["right terminus"] = "Rödermark-Ober Roden"
		},
		["S2"] = {
			["color"] = "ff0000",
			["left terminus"] = "Niedernhausen",
			["right terminus"] = "Dietzenbach"
		},
		["S3"] = {
			["color"] = "019377",
			["left terminus"] = "Bad Soden",
			["right terminus"] = "Darmstadt"
		},
		["S4"] = {
			["color"] = "ffcc00",
			["left terminus"] = "Kronberg",
			["right terminus"] = "Langen"
		},
		["S5"] = {
			["color"] = "7f3107",
			["left terminus"] = "Friedrichsdorf",
			["right terminus"] = "Südbahnhof"
		},
		["S6"] = {
			["color"] = "F47922",
			["left terminus"] = "Friedberg (Hess)",
			["right terminus"] = "Südbahnhof"
		},
		["S7"] = {
			["color"] = "01220e",
			["left terminus"] = "Riedstadt-Goddelau",
			["right terminus"] = "Frankfurt"
		},
		["S8"] = {
			["color"] = "7fc31c",
			["left terminus"] = "Wiesbaden",
			["right terminus"] = "Hanau"
		},
		["S9"] = {
			["color"] = "81017e",
			["left terminus"] = "Wiesbaden",
			["right terminus"] = "Hanau"
		},
	},
	["aliases"] = {
		["1"] = "S1",
		["2"] = "S2",
		["3"] = "S3",
		["4"] = "S4",
		["5"] = "S5",
		["6"] = "S6",
		["7"] = "S7",
		["8"] = "S8",
		["9"] = "S9"
	}
}

return p