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

local p = {
	["system title"] = "[[DB Regio Baden-Württemberg]]",
	["system icon"] = "[[File:Deutsche_Bahn_AG-Logo.svg|15px]]",
	["station format"] = {
		"%1 station",
		["Aalen"] = hbf,
		["Basel Bad Bf"] = "Basel Badischer Bahnhof",
		["Freiburg"] = hbf,
		["Freudenstadt"] = hbf,
		["Karlsruhe"] = hbf,
		["Pforzheim"] = hbf,
		["Reutlingen"] = hbf,
		["Stuttgart"] = hbf,
		["Tübingen"] = hbf,
		["Ulm"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		["IRE 3"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|IRE 3]]",
			["color"] = "e5007d",
			["left terminus"] = "Basel Bad Bf",
			["right terminus"] = "Ulm",					
		},
		["IRE 6"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|IRE 6]]",
			["color"] = "4d4d4d",
			["left terminus"] = "Stuttgart",
			["right terminus"] = "Aulendorf",
		},
		["IRE 50"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|IRE 50]]",
			["color"] = "b6931d",
			["left terminus"] = "Ulm",
			["right terminus"] = "Aalen",					
		},
		["RB 19"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 19]]",
			["color"] = "999999",
			["left terminus"] = "Stuttgart",
			["right terminus"] = "Crailsheim",
		},
		["RB 26"] = {
			["title"] = "[[Rheintalbahn|RB 26]]",
			["color"] = "009fe3",
			["left terminus"] = "Offenburg",
			["right terminus"] = "Freiburg",
		},
		["RB 27"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 27]]",
			["color"] = "008c3c",
			["left terminus"] = "Offenburg",
			["right terminus"] = "Basel Bad Bf",
		},
		["RB 31"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 31]]",
			["color"] = "00a99d",
			["left terminus"] = "Singen (Hohentwiel)",
			["right terminus"] = "Friedrichshafen Hafen",
		},
		["RB 33"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 33]]",
			["color"] = "999999",
			["left terminus"] = "Schaffhausen",
			["right terminus"] = "Singen (Hohentwiel)",
		},
		["RB 35"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 35]]",
			["color"] = "571d70",
			["left terminus"] = "Basel Bad Bf",
			["right terminus"] = {"Lauchringen", "Erzingen (Baden)"},
		},
		["RB 37"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 37]]",
			["color"] = "afca0b",
			["left terminus"] = "Waldshut",
			["right terminus"] = "Weizen",
		},
		["RB 53"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 53]]",
			["color"] = "0069b4",
			["left terminus"] = "Albstadt-Ebingen",
			["right terminus"] = "Aulendorf",
		},
		["RB 54"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 54]]",
			["color"] = "999999",
			["note-mid"] = "Limited service",
			["left terminus"] = "Pfullendorf",
			["right terminus"] = "Aulendorf",
		},
		["RB 63"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 63]]",
			["color"] = "d30630",
			["left terminus"] = "Herrenberg",
			["right terminus"] = "Bad Urach",
		},
		["RB 72"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 72]]",
			["note-mid"] = "Limited service",
			["color"] = "008c3c",
			["left terminus"] = "Pforzheim",
			["right terminus"] = "Maulbronn Stadt",
		},
		["RB 74"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 74]]",
			["color"] = "0069b4",
			["left terminus"] = "Pforzheim",
			["right terminus"] = "Tübingen",
		},
		["RB 93"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 93]]",
			["color"] = "009fe3",
			["left terminus"] = "Friedrichshafen Hafen",
			["right terminus"] = "Lindau-Insel",
		},
		["RE 2"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 2]]",
			["color"] = "0069b4",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Konstanz",					
		},
		["RE 4"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 4]]",
			["color"] = "a05a2c",
			["left terminus"] = "Konstanz",
			["right terminus"] = "Stuttgart",					
		},
		["RE 5"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 5]]",
			["color"] = "724019",
			["left terminus"] = "Stuttgart",
			["right terminus"] = "Lindau-Reutin",					
		},
		["RE 7"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 7]]",
			["color"] = "ed6e19",
			["left terminus"] = "Karlsruhe",
			["right terminus"] = "Basel Bad Bf",					
		},
		["RE 14a"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 14a]]",
			["color"] = "f69795",
			["text color"] = "000000",
			["left terminus"] = "Rottweil",
			["right terminus"] = "Stuttgart",					
		},
		["RE 14b"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 14b]]",
			["color"] = "00a99d",
			["left terminus"] = "Freudenstadt",
			["right terminus"] = "Stuttgart",					
		},
		["RE 55"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 55]]",
			["color"] = "b15a9e",
			["left terminus"] = "Villingen (Schwarzwald)",
			["right terminus"] = "Ulm",					
		},
		["RS 2"] = {
			["title"] = "[[Danube-Iller Regional S-Bahn|RS 2]]",
			["color"] = "981917",
			["left terminus"] = "Ulm",
			["right terminus"] = "Biberach (Riß) Süd",					
		},
	    ["RS 21"] = {
			["title"] = "[[Danube-Iller Regional S-Bahn|RS 21]]",
			["color"] = "e62f22",
			["left terminus"] = "Ulm",
			["right terminus"] = "Biberach (Riß) Süd",	
		},
	},
}

return p