Jump to content

Module:Adjacent stations/Polregio

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"] = "[[Polregio]]",
	["system color"] = "C52121",
	["station format"] = {
		"%1 railway station",
		["Warsaw"] = "[[Warszawa Centralna railway station|Warszawa Centralna]]",
		["Torun or Kutno"] = "[[Toruń Wschodni railway station|Toruń Wschodni]] or [[Kutno railway station|Kutno]]",
		["Przemysl and Zagorz"] = "[[Przemyśl Główny railway station|Przemyśl Główny]] or [[Zagórz railway station|Zagórz]]",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "C52121",
			["title"] = "''[[Polregio|PR]]''",
		},
		["Arriva"] = {
			["title"] = "[[Arriva RP]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["KD"] = {
			["title"] = "[[Koleje Dolnośląskie]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["KMaz"] = {
			["title"] = "[[Koleje Mazowieckie]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["KMal"] = {
			["title"] = "[[Koleje Małopolskie]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["KS"] = {
			["title"] = "[[Koleje Śląskie]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["KW"] = {
			["title"] = "[[Koleje Wielkopolskie]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["LKA"] = {
			["title"] = "[[Łódzka Kolej Aglomeracyjna]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["PKM"] = {
			["title"] = "[[Pomorska Kolej Metropolitalna]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["PKPIC"] = {
			["title"] = "[[PKP Intercity]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["PR"] = {
			["title"] = string.format(n, "FFF", "C52121", "PR"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["RB 91"] = {
			["title"] = "[[List of railway routes in Berlin and Brandenburg#Regional services|RB 91]]",
			["color"] = "FFC300",
			["left terminus"] = "Frankfurt Oder",
			["right terminus"] = "Zielona Góra Główna",
		},
		["IR"] = {
			["title"] = string.format(n, "FFF", "C52121", "IR"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["PRPKR"] = {
			["title"] = string.format(n, "FFF", "5B2E91", "PKR"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["SKM (Tricity)"] = {
			["color"] = "FBEC5D",
			["title"] = "[[Szybka Kolej Miejska (Tricity)|SKM (Tricity)]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["SKM Warsaw"] = {
			["title"] = "[[Szybka Kolej Miejska (Warsaw)|SKM (Warsaw)]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["WKD"] = {
			["title"] = "[[Warszawska Kolej Dojazdowa|WKD]]",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["330"] = {
			["title"] = string.format(n, "FFF", "C52121", "PR 330"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["350"] = {
			["title"] = string.format(n, "FFF", "C52121", "PR 350"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
	}
}

return p