Jump to content

Module:Adjacent stations/Koleje Małopolskie

From Wikipedia, the free encyclopedia

local Q = "<span class=error>????</span>"
local s = "%1 railway station"
local n = "<span style=\"color:#FFF; background:#%s; padding-left:.3em; padding-right:.3em; font-weight:bold;\">%s</span>"
local m = "<span style=\"color:#000; background:#%s; padding-left:.3em; padding-right:.3em; font-weight:bold;\">%s</span>"

local p = {
	["system title"] = "[[Koleje Małopolskie|KMŁ]]",
	["system color"] = "FBBF00",
	["system icon"] = "[[File:Logo Koleje Małopolskie.png|x13px]] ",
	["station format"] = {
		"%1 railway station",
		["Kraków Lotnisko"] = "[[Kraków Lotnisko railway station|Kraków Lotnisko]] ([[Kraków John Paul II International Airport|Airport]])",
		["Oświęcim"] = "[[Oświęcim railway station|Oświęcim]] (Auschwitz)",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "FBBF00",
			["title"] = "''[[Koleje Małopolskie]]''"
		},
		["SKA1"] = {
			["title"] = string.format(n, "00BAF1", "SKA1"),
			["color"] = "FBBF00",
			["left terminus"] = "Kraków Lotnisko",
			["right terminus"] = "Wieliczka Rynek"
		},
		["SKA2"] = {
			["title"] = string.format(n, "ED028C", "SKA2"),
			["color"] = "FBBF00",
			["left terminus"] = "Sędziszów",
			["right terminus"] = "Przeciszów"
		},
		["SKA3"] = {
			["title"] = string.format(m, "FEC210", "SKA3"),
			["color"] = "FBBF00",
			["left terminus"] = "Oświęcim",
			["right terminus"] = "Tarnów"
		},
		["KM"] = {
			["left terminus"] = Q,
			["right terminus"] = Q
		}
	}
}

return p