Module:Adjacent stations/Westfrankenbahn

local RB = "999999"
local RE = "E2001A"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"

local p = {
	["system title"] = "",
	["system icon"] = "[[File:Westfrankenbahn_Logo.svg|80px|link=Westfrankenbahn]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Heilbronn"] = hbf,
		["Hanau"] = hbf,
		["Öhringen"] = hbf,
		["Würzburg"] = hbf,
		["Aschaffenburg"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
			["title"] = "[[Westfrankenbahn#Lines|%1]]"
		},
		["RB 56"] = {
			["color"] = RB,
			["left terminus"] = "Hanau",
			["right terminus"] = "Schöllkrippen"
		},
		["RB 83"] = {
			["color"] = RB,
			["left terminus"] = "Heilbronn",
			["right terminus"] = "Schwäbisch Hall-Hessental"
		},
    	["RB 84"] = {
			["color"] = RB,
			["left terminus"] = "Miltenberg",
			["right terminus"] = "Osterburken"
		},
    	["RB 85"] = {
			["color"] = RB,
			["left terminus"] = "Osterburken",
			["right terminus"] = "Würzburg"
		},
    	["RB 88 (BW)"] = {
    		["title"] = "[[Westfrankenbahn#Lines|RB 88]]",
    		["short name"] = "RB 88",
			["color"] = RB,
			["left terminus"] = "Wertheim",
			["right terminus"] = "Crailsheim"
		},
	    ["RB 88 (BY)"] = {
	    	["title"] = "[[Westfrankenbahn#Lines|RB 88]]",
	    	["short name"] = "RB 88",
			["color"] = "e5a05c",
			["left terminus"] = "Aschaffenburg",
			["right terminus"] = "Miltenberg"
		},	
		["RE 80"] = {
			["color"] = RE,
			["left terminus"] = "Heilbronn",
			["right terminus"] = "Crailsheim"
		},
		["RE 87"] = {
			["color"] = "b6931d",
			["left terminus"] = "Aschaffenburg",
			["right terminus"] = "Crailsheim"
		}
	}
}

return p