local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"

local p = {
	["system title"] = "",
	["system icon"] = "[[File:Agilis Logo.svg|50px|link=agilis]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Bayreuth"] = hbf,
		["Hof"] = hbf,
		["Landshut"] = hbf,
		["Passau"] = hbf,
		["Regensburg"] = hbf,
		["Ingolstadt"] = hbf,
		["Ulm"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
			["title"] = "[[List of railway routes in Bavaria|%1]]",
		},
		-- RB
		["RB 15"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RB 15]]",
			["color"] = "008791",
			["left terminus"] = "Ulm",
			["right terminus"] = "Ingolstadt",
		},
		["RB 17"] = {			
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RB 17]]",
			["color"] = "90BF26",
			["left terminus"] = "Ingolstadt",
			["right terminus"] = "Regensburg",
		},
		["RB 18"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RB 18]]",
			["color"] = "006629",
			["left terminus"] = "Bad Rodach",
			["right terminus"] = "Coburg",
		},
		["RB 22"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 22]]",
			["color"] = "90BF26",
			["left terminus"] = "Lichtenfels",
			["right terminus"] = "Ebermannstadt",
		},
		["RB 24"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 24]]",
			["color"] = "009DF2",
			["left terminus"] = "Coburg",
			["right terminus"] = "Bayreuth",
		},
		["RB 26"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 26]]",
			["color"] = "6CC3D9",
			["left terminus"] = "Ebern",
			["right terminus"] = "Forchheim (Oberfr)",
		},
		["RB 34"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 3, 30–39 (north)|RB 34]]",
			["color"] = "BF73BF",
			["left terminus"] = "Weiden (Oberpfalz)",
			["right terminus"] = "Weidenberg",
		},
		["RB 51"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 5, 50–59 (east)|RB 51]]",
			["color"] = "BF73BF",
			["left terminus"] = "Neumarkt (Oberpfalz)",
			["right terminus"] = "Plattling",
		},
	    ["RB 95"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 9, 90–99 (north)|RB 95]]",
			["color"] = "f6af95",
			["left terminus"] = "Hof",
			["right terminus"] = "Marktredwitz",
		},
		["RB 96"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 9, 90–99 (north)|RB 96]]",
			["color"] = "FF6600",
			["left terminus"] = "Hof",
			["right terminus"] = "Selb Stadt",
		},
		["RB 97"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 9, 90–99 (north)|RB 97]]",
			["color"] = "abb240",
			["left terminus"] = "Bayreuth",
			["right terminus"] = "Bad Steben",
		},
		["RB 98"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 9, 90–99 (north)|RB 98]]",
			["color"] = "24b27d",
			["left terminus"] = "Helmbrechts ",
			["right terminus"] = {"Münchberg", "Hof"},
		},
		["RB 99"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 9, 90–99 (north)|RB 99]]",
			["color"] = "ffb200",
			["left terminus"] = "Neuenmarkt-Wirsberg",
			["right terminus"] = "Hof",
		},
		-- RE
		["RE 18"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RE 18]]",
			["color"] = "1e8d08",
			["left terminus"] = "Ulm",
			["right terminus"] = "Regensburg",					
		},
	},
}

return p