Module:Adjacent stations/Koleje Dolnośląskie

local s = "%1 station" local n = "%s " local Q = " ???? "

local p = { ["system title"] = "KD", ["system icon"] = " ", ["system color"] = "2A2A28", ["station format"] = { "%1 railway station", ["Dresden"] = "Dresden Hauptbahnhof", ["Görlitz"] = s,	}, ["lines"] = { ["_default"] = { ["title"] = "KD", ["color"] = "2A2A28" },		["D1"] = { ["title"] = string.format(n, "FFF", "00AB2E", "D1"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Lubań Śląski" },		["D2"] = { ["title"] = string.format(n, "000", "E6B800", "D2"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = Q		}, ["D3"] = { ["title"] = string.format(n, "FFF", "C65312", "D3"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Rawicz" },		["D4"] = { ["title"] = string.format(n, "000", "FF6600", "D4"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = Q		}, ["D5"] = { ["title"] = string.format(n, "FFF", "0F95CA", "D5"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Kudowa-Zdrój" },		["D6"] = { ["title"] = string.format(n, "FFF", "2E2076", "D6"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Szklarska Poręba Górna" },		["D7"] = { ["title"] = string.format(n, "FFF", "4D351C", "D7"), ["color"] = "2A2A28", ["left terminus"] = "Jelcz-Laskowice", ["right terminus"] = "Krotoszyn" },		["D8"] = { ["title"] = string.format(n, "000", "2CCBC3", "D8"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Trzebnica" },		["D9"] = { ["title"] = string.format(n, "FFF", "B70A06", "D9"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Lichkov" },		["D10"] = { ["title"] = string.format(n, "FFF", "A81B8D", "D10"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Dresden Hauptbahnhof" },		["D11"] = { ["title"] = string.format(n, "FFF", "6393CE", "D11"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Głogów" },		["D15"] = { ["title"] = string.format(n, "000", "BDE705", "D11"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = Q		}, ["D16"] = { ["title"] = string.format(n, "000", "FF8500", "D16"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Dzierżoniów Śląski" },		["D19"] = { ["title"] = string.format(n, "000", "FFB600", "D19"), ["color"] = "2A2A28", ["left terminus"] = "Jelenia Góra", ["right terminus"] = "Görlitz" },		["D21"] = { ["title"] = string.format(n, "FFF", "008FA1", "D21"), ["color"] = "2A2A28", ["left terminus"] = "Szklarska Poręba Górna", ["right terminus"] = Q		}, ["D25"] = { ["title"] = string.format(n, "FFF", "E41A15", "D25"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Forst (Lausitz)" },		["D26"] = { ["title"] = string.format(n, "FFF", "FB5373", "D26"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = Q		}, ["D28"] = { ["title"] = string.format(n, "000", "E7A4D0", "D28"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Adršpach" },		["D29"] = { ["title"] = string.format(n, "000", "F4E244", "D29"), ["color"] = "2A2A28", ["left terminus"] = Q,			["right terminus"] = "Kudowa-Zdrój" },		["D70"] = { ["title"] = string.format(n, "000", "BB9283", "D70"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Jelcz-Laskowice" },		["D92"] = { ["title"] = string.format(n, "FFF", "7C0400", "D92"), ["color"] = "2A2A28", ["left terminus"] = "Kłodzko", ["right terminus"] = "Stronie Śląskie" },		["D99"] = { ["title"] = string.format(n, "FFF", "4A5150", "D99"), ["color"] = "2A2A28", ["left terminus"] = "Wrocław Główny", ["right terminus"] = "Berlin-Lichtenberg" },	} }

return p