Jump to content

Module:Adjacent stations/Arriva RP

From Wikipedia, the free encyclopedia

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

local p = {
	["system title"] = "[[Arriva RP]]",
	["system color"] = "21C5C2",
	["station format"] = {
		"%1 railway station"
	},
	["lines"] = {
		["_default"] = {
			["color"] = "21C5C2",
			["title"] = "''[[Arriva RP|Arriva]]''"
		},
		["Arriva"] = {
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["AR410"] = {
			["title"] = string.format(n, "FFF", "F0AF4B", "AR410"),
			["color"] = "F18C16",
			["left terminus"] = "Toruń Główny",
			["right terminus"] = "Sierpc"
		},
		["AR415"] = {
			["title"] = string.format(n, "FFF", "00AEEF", "AR415"),
			["color"] = "00AEEF",
			["left terminus"] = "Toruń Główny",
			["right terminus"] = "Grudziądz"
		},
		["AR416"] = {
			["title"] = string.format(n, "FFF", "534F8B", "AR416"),
			["color"] = "534F8B",
			["left terminus"] = "Chełmża",
			["right terminus"] = "Bydgoszcz Główna"
		},
		["AR429"] = {
			["title"] = string.format(n, "000", "FFE601", "AR429"),
			["color"] = "FFE601",
			["left terminus"] = {
				"Laskowice Pomorskie",
				"Wierzchucin"
			},
			["right terminus"] = {
				"Czersk"
			},
			["types"] = {
				["Laskowice Pomorskie"] = {
					["title"] = "",
					["left terminus"] = "Laskowice Pomorskie"
				},
				["Wierzchucin"] = {
					["title"] = "",
					["left terminus"] = "Wierzchucin"
				},
			}
		},
		["AR431A"] = {
			["title"] = string.format(n, "FFF", "8BB15C", "AR431A"),
			["color"] = "8BB15C",
			["left terminus"] = "Bydgoszcz Główna",
			["right terminus"] = "Chojnice"
		},
		["AR431B"] = {
			["title"] = string.format(n, "FFF", "D3292C", "AR431B"),
			["color"] = "D3292C",
			["left terminus"] = "Bydgoszcz Główna",
			["right terminus"] = "Brodnica"
		},
	}
}

return p