Jump to content

Module:Adjacent stations/PKP Intercity

Permanently protected module
From Wikipedia, the free encyclopedia

local stn = "%1 station"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
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"] = "[[PKP Intercity]]",
	["system color"] = "003876",
	["name format"] = "font-size:150%; font-family:sans-serif; font-weight:bolder; line-height:150%; color:#ffffff; background-color:#013765",
	["header background color"] = "013765",
	["header text color"] = "FFFFFF",
	["station format"] = {
		"%1 railway station",
		["Warszawa Zachodnia"] = stn,
		["Warszawa Gdańska"] = stn,
		["Budapest Nyugati"] = stn,
		["Frankfurt (Oder)"] = stn,
		["Berlin"] = hbf,
		["Wien"] = hbf,
		["Prague"] = "[[Praha hlavní nádraží|Prague]]",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "013765",
			["title"] = "''[[Polish State Railways|PKP]]''"
		},
		["EIC"] = {
			["title"] = string.format(n, "FFF", "6C727A", "EIC"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["EIP"] = {
			["title"] = string.format(n, "FFF", "102C76", "[[High-speed rail in Poland|EIP]]"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["IC"] = {
			["title"] = string.format(n, "FFF", "EF7F0B", "IC"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["TLK"] = {
			["title"] = string.format(n, "FFF", "F86505", "TLK"),
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["EuroCity"] = {
			["color"] = "A78B6B",
			["title"] = "''[[EuroCity#List of EuroCity services|EuroCity]]''",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
		["EuroNight"] = {
			["color"] = "000099",
			["title"] = "''[[EuroNight#List_of_EuroNight_trains|EuroNight]]''",
			["left terminus"] = Q,
			["right terminus"] = Q
		},
	},
	["aliases"] ={
		["pkp tlk"] = "TLK",
		["pkp ic"] = "IC",
		["pkp eic"] = "EIC",
		["pkp eip"] = "EIP",
		["pkptlk"] = "TLK",
		["pkpic"] = "IC",
		["pkpeic"] = "EIC",
		["pkpeip"] = "EIP",
		["ec"] = "EuroCity",
		["en"] = "EuroNight",
	}
}

return p