Jump to content

Module:Adjacent stations/MÁV START

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mackensen (talk | contribs) at 21:21, 25 June 2023 (icon size). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local stn = "%1 station"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"

local ec = {
	["title"] = "[[EuroCity]]",
	["color"] = "0000ff",
	["icon"] = "[[File:EuroCity Hungary icon.svg|35px]]",
}

local ic = {
	["title"] = "[[InterCity#Hungary|InterCity]]",
	["color"] = "0000ff",
	["icon"] = "[[File:InterCity Hungary icon.svg|35px]]",
}

local ir = {
	["title"] = "[[InterRegio#Hungary|InterRegio]]",
	["color"] = "008000",
	["icon"] = "[[File:InterRégió Hungary icon.svg|35px]]",
}

local sz = {
	["title"] = "[[Személyvonat]]",
	["color"] = "000000",
	["icon"] = "[[File:Személyvonat Hungary icon.svg|35px]]",
}

local p = {
	["system title"] = "[[MÁV START]]",
	["system icon"] = "",
	["station format"] = {
		"%1 railway station",
		["Budapest Déli"] = stn,
		["Budapest Keleti"] = stn,
		["Budapest Nyugati"] = stn,
		["Graz"] = hbf,
		["Salzburg"] = hbf,
		["Stuttgart"] = hbf,
		["Wien"] = hbf,
		["Zagreb"] = "Zagreb Glavni kolodvor",
		["Zürich"] = "[[Zürich Hauptbahnhof|Zürich HB]]",
	},
	["lines"] = {
		-- EuroCity lines
		-- 141-149; 340-341
		["EC Vienna-Budapest"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["icon"] = ec.icon,
			["left terminus"] = "Wien",
			["right terminus"] = "Budapest Keleti",					
		},
		-- 143, 146
		["EC Vienna-Cluj Napoca"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["icon"] = ec.icon,
			["left terminus"] = "Wien",
			["right terminus"] = "Cluj Napoca",					
		},

		-- IC (InterCity)
		["IC Graz-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Graz",
			["right terminus"] = "Budapest Keleti",
		},
		["IC Keszthely-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Keszthely",
			["right terminus"] = "Budapest Déli",
		},
		["IC Ljubljana-Budapest Déli"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Ljubljana",
			["right terminus"] = "Budapest Déli",
		},
		["IC Ljubljana-Budapest Keleti"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Ljubljana",
			["right terminus"] = "Budapest Keleti",
		},
		["IC Nagykanizsa-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Nagykanizsa",
			["right terminus"] = "Budapest Déli",
		},
		["IC Sopron-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Sopron",
			["right terminus"] = "Budapest Keleti",
		},
		["IC Split-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Split",
			["right terminus"] = "Budapest Keleti",
		},
		["IC Szentgotthárd-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Szentgotthárd",
			["right terminus"] = "Budapest Keleti",
		},
		["IC Szombathely-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Szombathely",
			["right terminus"] = "Budapest Déli",
		},
		["IC Tapolca-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Tapolca",
			["right terminus"] = "Budapest Déli",
		},
		["IC Zagreb-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Zagreb",
			["right terminus"] = "Budapest Déli",
		},
		["IC Zalaegerszeg-Budapest"] = {
			["title"] = ic.title,
			["color"] = ic.color,
			["icon"] = ic.icon,
			["left terminus"] = "Zalaegerszeg",
			["right terminus"] = "Budapest Déli",
		},

		-- EN (EuroNight)
		["EN Salzburg-Budapest"] = {
			["title"] = "''[[EuroNight|Kálmán Imre]]''",
			["color"] = "0000ff",
			["icon"] = "[[File:EuroNight Hungary icon.svg|35px]]",
			["left terminus"] = {"Salzburg", "Stuttgart", "Zürich"},
			["right terminus"] = "Budapest Keleti",
		},

		-- Ex (Expresszvonat)
		["Ex Fonyód-Záhony"] = {
			["title"] = "[[Train categories in Europe#Hungary (MÁV, GYSEV)|Expresszvonat]]",
			["color"] = "ff0000",
			["icon"] = "[[File:Expresszvonat Hungary icon.svg|35px]]",
			["left terminus"] = "Fonyód",
			["right terminus"] = "Záhony",
		},
		["Ex Zagreb-Bucharest"] = {
			["title"] = "[[Train categories in Europe#Hungary (MÁV, GYSEV)|Expresszvonat]]",
			["color"] = "ff0000",
			["icon"] = "[[File:Expresszvonat Hungary icon.svg|35px]]",
			["left terminus"] = "Zagreb",
			["right terminus"] = "Budapest Déli",
		},
		["Ex Zánka-Záhony"] = {
			["title"] = "[[Train categories in Europe#Hungary (MÁV, GYSEV)|Expresszvonat]]",
			["color"] = "ff0000",
			["icon"] = "[[File:Expresszvonat Hungary icon.svg|35px]]",
			["left terminus"] = "Zánka-Erzsébettábor",
			["right terminus"] = "Záhony",
		},

		-- Gy (Gyorsvonat)
		["Gy Vienna-Bucharest"] = {
			["title"] = "''[[Train categories in Europe#Hungary (MÁV, GYSEV)|Dacia–Corvin Express]]''",
			["color"] = "ff0000",
			["icon"] = "[[File:Gyorsvonat Hungary icon.svg|35px]]",
			["left terminus"] = "Wien",
			["right terminus"] = "Bucharest North",
		},
		
		-- IR (InterRégió)
		["IR Balatonfüred-Budapest"] = {
			["title"] = ir.title,
			["color"] = ir.color,
			["icon"] = ir.icon,
			["left terminus"] = "Balatonfüred",
			["right terminus"] = "Budapest Déli",
		},
		["IR Cegléd-Debrecen"] = {
			["title"] = ir.title,
			["color"] = ir.color,
			["icon"] = ir.icon,
			["left terminus"] = "Cegléd",
			["right terminus"] = "Debrecen",
		},
		["IR Fonyód-Budapest"] = {
			["title"] = ir.title,
			["color"] = ir.color,
			["icon"] = ir.icon,
			["left terminus"] = "Fonyód",
			["right terminus"] = "Budapest Déli",
		},
		["IR Kaposvar-Győr"] = {
			["title"] = ir.title,
			["color"] = ir.color,
			["icon"] = ir.icon,
			["left terminus"] = "Kaposvar",
			["right terminus"] = "Győr",
		},

		-- Személyvonat
		["S225"] = {
			["title"] = "[[Személyvonat|S225]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S225 Hungary icon.svg|35px]]",
			["left terminus"] = "Kecskemét",
			["right terminus"] = "Szolnok",
		},
		["Sz Celldömölk-Győr"] = {
			["title"] = sz.title,
			["color"] = sz.color,
			["icon"] = sz.icon,
			["left terminus"] = "Celldömölk",
			["right terminus"] = "Győr",			
		},
		["Sz Rajka-Csorna"] = {
			["title"] = sz.title,
			["color"] = sz.color,
			["icon"] = sz.icon,
			["left terminus"] = "Rajka",
			["right terminus"] = "Csorna",			
		},
		["Sz Rajka-Győr"] = {
			["title"] = sz.title,
			["color"] = sz.color,
			["icon"] = sz.icon,
			["left terminus"] = "Rajka",
			["right terminus"] = "Győr",			
		},
		["Sz Sopron-Győr"] = {
			["title"] = sz.title,
			["color"] = sz.color,
			["icon"] = sz.icon,
			["left terminus"] = "Sopron",
			["right terminus"] = "Győr",			
		},
		["Sz Veszprem-Győr"] = {
			["title"] = sz.title,
			["color"] = sz.color,
			["icon"] = sz.icon,
			["left terminus"] = "Veszprem",
			["right terminus"] = "Győr",			
		},

		-- Budapest suburban services
		["S10"] = {
			["title"] = "[[Suburban trains in Budapest|S10]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S10 Hungary icon.svg|35px]]",
			["left terminus"] = "Győr",
			["right terminus"] = "Budapest Déli",
		},
		["G10"] = {
			["title"] = "[[Suburban trains in Budapest|G10]]",
			["color"] = "aacd46",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:G10 Hungary icon.svg|35px]]",
			["left terminus"] = "Tatabánya",
			["right terminus"] = "Budapest Keleti",
		},
		["S12"] = {
			["title"] = "[[Suburban trains in Budapest|S12]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S12 Hungary icon.svg|35px]]",
			["left terminus"] = "Oroszlány",
			["right terminus"] = "Budapest Déli",
		},
		["S40"] = {
			["title"] = "[[Suburban trains in Budapest|S40]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S40 Hungary icon.svg|35px]]",
			["left terminus"] = "Pusztaszabolcs",
			["right terminus"] = "Budapest Déli",
		},
		["S42"] = {
			["title"] = "[[Suburban trains in Budapest|S42]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S42 Hungary icon.svg|35px]]",
			["left terminus"] = "Dunaújváros",
			["right terminus"] = "Budapest Déli",
		},
		["S50"] = {
			["title"] = "[[Suburban trains in Budapest|S50]]",
			["color"] = "00aff0",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:S50 Hungary icon.svg|35px]]",
			["left terminus"] = "Budapest Nyugati",
			["right terminus"] = "Szolnok",
		},
		["Z30"] = {
			["title"] = "[[Suburban trains in Budapest|Z30]]",
			["color"] = "ffcd28",
			["text color"] = "000000",
			["icon"] = "[[File:Z30 Hungary icon.svg|35px]]",
			["left terminus"] = "Székesfehérvár",
			["right terminus"] = "Budapest Déli",
		},
		["Z50"] = {
			["title"] = "[[Suburban trains in Budapest|Z50]]",
			["color"] = "ffcd28",
			["text color"] = "000000",
			["icon"] = "[[File:Z50 Hungary icon.svg|35px]]",
			["left terminus"] = "Budapest Nyugati",
			["right terminus"] = "Szolnok",
		},
	},
	["aliases"] = {
		["dráva"] = "IC Ljubljana-Budapest Keleti",
		["helikon"] = "IR Kaposvar-Győr",
		["ikva"] = "IC Sopron-Budapest",
		["kékfrankos"] = "IC Sopron-Budapest",
		["lővér"] = "IC Sopron-Budapest",
		["magnet bank"] = "IC Sopron-Budapest",
		["mura"] = "IC Graz-Budapest",
		["savaria"] = "IC Szentgotthárd-Budapest",
		["scarbantia"] = "IC Sopron-Budapest",
		["soproni közgáz"] = "IC Sopron-Budapest",
		["tűztorony"] = "IC Sopron-Budapest",
	}
}

return p