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"] = "9cad49",
			["left terminus"] = "Ulm",
			["right terminus"] = "Ingolstadt",
		},
		["RB 17"] = {			
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RB 17]]",
			["color"] = "9cad49",
			["left terminus"] = "Ingolstadt",
			["right terminus"] = "Regensburg",
		},
		["RB 18"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 1, 10–19 (south)|RB 18]]",
			["color"] = "ff9999",
			["left terminus"] = "Bad Rodach",
			["right terminus"] = "Coburg",
		},
		["RB 22"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 22]]",
			["color"] = "9cad49",
			["left terminus"] = "Lichtenfels",
			["right terminus"] = "Ebermannstadt",
		},
		["RB 24"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 24]]",
			["color"] = "007ec2",
			["left terminus"] = "Coburg",
			["right terminus"] = "Bad Steben",
		},
		["RB 26"] = {
			["title"] = "[[List of railway routes in Bavaria#Lines 2, 20–29 (northwest)|RB 26]]",
			["color"] = "68a7cc",
			["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"] = "c189a3",
			["left terminus"] = "Neumarkt (Oberpfalz)",
			["right terminus"] = "Plattling",
		},
		["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"] = "ff6600",
			["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"] = "FF0000",
			["left terminus"] = "Ulm",
			["right terminus"] = "Regensburg",					
		},
	},
}

return p