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

local p = {
	["system title"] = "[[Vias (rail company)|VIAS]]",
	["system icon"] = "[[File:VIAS logo.svg|20px]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Arnhem Centraal"] = rws,
		["Bochum"] = hbf,
		["Darmstadt"] = hbf,
		["Duisburg"] = hbf,
		["Düsseldorf"] = hbf,
		["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt (Main) Hbf]]",
		["Frankfurt (Main)"] = hbf,
		["Essen"] = hbf,
		["Gelsenkirchen"] = hbf,
		["Hagen"] = hbf,
		["Hanau"] = hbf,
		["Koblenz"] = hbf,
		["Krefeld"] = hbf,
		["Mönchengladbach"] = hbf,
		["Neuss"] = hbf,
		["Oberhausen"]= hbf,
		["Offenbach (Main)"]= hbf,
		["Wanne-Eickel"] = hbf,
		["Wiesbaden"] = hbf,
		["Witten"] = hbf
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		-- RB
		["RB 10"] = {
			["title"] = "[[RheingauLinie|RB 10]]",
			["color"] = "e4a024",
			["left terminus"] = "Neuwied",
			["right terminus"] = "Frankfurt (Main)"
		},
		["RB 34"] = {
			["title"] = "[[Vias (rail company)#Lines in North Rhine-Westphalia|RB 34]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dalheim",
			["right terminus"] = "Mönchengladbach"
		},
		["RB 35"] = {
			["title"] = "[[Emscher-Niederrhein-Bahn|RB 35]]",
			["color"] = "7A7C80",
			["left terminus"] = "Mönchengladbach",
			["right terminus"] = "Gelsenkirchen"
		},
		["RB 39"] = {
			["title"] = "[[Düssel-Erft-Bahn|RB 39]]",
			["color"] = "7A7C80",
			["left terminus"] = "Bedburg",
			["right terminus"] = "Düsseldorf"
		},
		["RB 46"] = {
			["title"] = "[[Glückauf-Bahn|RB 46]]",
			["color"] = "7A7C80",
			["left terminus"] = "Gelsenkirchen",
			["right terminus"] = "Bochum"
		},
		["RB 66"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RB 66]]",
			["color"] = "007dc5",
			["left terminus"] = "Darmstadt",
			["right terminus"] = "Pfungstadt"
		},
		["RB 81"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RB 81]]",
			["color"] = "ec1d24",
			["left terminus"] = "Darmstadt",
			["right terminus"] = "Eberbach"
		},
		["RB 82"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RB 82]]",
			["color"] = "ec1d24",
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Eberbach"
		},
		["RB 86"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RB 86]]",
			["color"] = "e4a024",
			["left terminus"] = "Hanau",
			["right terminus"] = "Groß-Umstadt-Wiebelsbach"
		},
		["RB 91"] = {
			["title"] = "[[Vias (rail company)#Lines in North Rhine-Westphalia|RB 91]]",
			["color"] = "7A7C80",
			["left terminus"] = "Hagen",
			["right terminus"] = "Siegen",
		},
		-- RE
		["RE 9"] = {
			["title"] = "[[List of railway routes in Hesse|RE 9]]",
			["color"] = "e4a024",
			["left terminus"] = "Eltville",
			["right terminus"] = "Frankfurt",
		},
		["RE 16"] = {
			["title"] = "[[Ruhr-Lenne-Express|RE 16]]",
			["color"] = "0E5778",
			["left terminus"] = "Essen",
			["right terminus"] = "Iserlohn",
		},
		["RE 19"] = {
			["title"] = "[[Rhein-IJssel-Express|RE 19]]",
			["color"] = "2F652B",
			["left terminus"] = {"Arnhem Centraal", "Bocholt"},
			["right terminus"] = "Düsseldorf",
		},
		["RE 80"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RE 80]]",
			["color"] = "ec1d24",
			["left terminus"] = "Darmstadt",
			["right terminus"] = "Erbach (Odenw)",
		},
		["RE 85"] = {
			["title"] = "[[Vias (rail company)#Lines in Hesse and Rhineland-Palatinate|RE 85]]",
			["color"] = "e4a024",
			["left terminus"] = "Frankfurt",
			["right terminus"] = "Groß-Umstadt-Wiebelsbach",
		},
	},
}

return p