Module:Adjacent stations/MÁV START

local stn = "%1 station" local hbf = "%1 Hbf"

local ec = { ["title"] = "EuroCity", ["color"] = "0000ff", ["icon"] = "", }

local ic = { ["title"] = "InterCity", ["color"] = "0000ff", ["icon"] = "", }

local ir = { ["title"] = "InterRegio", ["color"] = "008000", ["icon"] = "", }

local s = { ["title"] = "Sebesvonat", ["color"] = "008000", ["icon"] = "", }

local sz = { ["title"] = "Személyvonat", ["color"] = "000000", ["icon"] = "", }

local rjx = { ["title"] = "Railjet Express", ["color"] = "0000ff", ["icon"] = "", }

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, ["München"] = hbf, ["Salzburg"] = hbf, ["Stuttgart"] = hbf, ["Wien"] = hbf, ["Zagreb"] = "Zagreb Glavni kolodvor", ["Zürich"] = "Zürich HB", },	["lines"] = { -- RJX (Railjet Express) -- 60-68, 261		["RJX Munich-Budapest"] = { ["title"] = rjx.title, ["color"] = rjx.color, ["icon"] = rjx.icon, ["left terminus"] = "München", ["right terminus"] = "Budapest Keleti", },		-- 162, 165		["RJX Zürich-Budapest"] = { ["title"] = rjx.title, ["color"] = rjx.color, ["icon"] = rjx.icon, ["left terminus"] = "Zürich", ["right terminus"] = "Budapest Keleti", },

-- EC (EuroCity) -- 271-281		["EC Brno-Budapest"] = { ["title"] = ec.title, ["color"] = ec.color, ["icon"] = ec.icon, ["left terminus"] = "Brno main", ["right terminus"] = "Budapest Nyugati", },		-- 130-131		["EC Budapest-Terespol"] = { ["title"] = ec.title, ["color"] = ec.color, ["icon"] = ec.icon, ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Terespol", },		-- 172-173		["EC Hamburg-Budapest"] = { ["title"] = ec.title, ["color"] = ec.color, ["icon"] = ec.icon, ["left terminus"] = "Hamburg-Altona", ["right terminus"] = "Budapest Nyugati", },		-- 141-148; 340-341		["EC Vienna-Budapest"] = { ["title"] = ec.title, ["color"] = ec.color, ["icon"] = ec.icon, ["left terminus"] = "Wien", ["right terminus"] = "Budapest Keleti", },		-- 140, 149		["EC Vienna-Chop"] = { ["title"] = ec.title, ["color"] = ec.color, ["icon"] = ec.icon, ["left terminus"] = "Wien", ["right terminus"] = "Chop", },		-- 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 Budapest-Arad"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Arad", },		["IC Budapest-Békéscsaba"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Békéscsaba", },		["IC Budapest-Bucharest"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Bucharest North", },		["IC Budapest-Braşov"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Braşov", },		["IC Kaposvár-Budapest"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Kaposvár", ["right terminus"] = "Budapest Keleti", },		["IC Budapest-Košice"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Košice", },		["IC Budapest-Mukachevo"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Mukachevo", },		["IC Budapest-Szeged"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Szeged", },		["IC Budapest-Timişoara"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Timişoara Nord", },		["IC Budapest-Záhony"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Záhony", },		["IC Gyékényes-Budapest"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Gyékényes", ["right terminus"] = "Budapest Keleti", },		["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 Pécs-Budapest"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["left terminus"] = "Pécs", ["right terminus"] = "Budapest Keleti", },		["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 Tokaj"] = { ["title"] = ic.title, ["color"] = ic.color, ["icon"] = ic.icon, ["types"] = { ["Keleti"] = { ["title"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = {"Budapest Keleti", ["via"] = "Tokaj"}, },				["Nyugati"] = { ["title"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = {"Budapest Nyugati", ["via"] = "Tokaj"}, },			},		},		["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) -- 476-477		["EN Budapest-Breclav"] = { ["title"] = "EuroNight", ["note-mid"] = "Metropol", ["color"] = "0000ff", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Breclav", },		["EN Salzburg-Budapest"] = { ["title"] = "EuroNight", ["note-mid"] = "Kálmán Imre", ["color"] = "0000ff", ["icon"] = "", ["left terminus"] = {"Salzburg", "Stuttgart", "Zürich"}, ["right terminus"] = "Budapest Keleti", },

-- Ex (Expresszvonat) ["Ex Fonyód-Záhony"] = { ["title"] = "Expresszvonat", ["color"] = "ff0000", ["icon"] = "", ["left terminus"] = "Fonyód", ["right terminus"] = "Záhony", },		["Ex Zagreb-Budapest"] = { ["title"] = "Expresszvonat", ["color"] = "ff0000", ["icon"] = "", ["left terminus"] = "Zagreb", ["right terminus"] = "Budapest Déli", },		["Ex Zánka-Záhony"] = { ["title"] = "Expresszvonat", ["color"] = "ff0000", ["icon"] = "", ["left terminus"] = "Zánka-Erzsébettábor", ["right terminus"] = "Záhony", },

-- Gy (Gyorsvonat) ["Gy Vienna-Bucharest"] = { ["title"] = "Dacia–Corvin Express", ["color"] = "ff0000", ["icon"] = "", ["left terminus"] = "Wien", ["right terminus"] = "Bucharest North", },

-- S (Sebesvonat) ["S Budapest-Balmazújváros"] = { ["title"] = s.title, ["color"] = s.color, ["icon"] = s.icon, ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Balmazújváros", },		-- IR (InterRégió) ["IR 85"] = { ["title"] = "IR 85", ["color"] = ir.color, ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Gyöngyös", },		["IR 87"] = { ["title"] = "IR 87", ["color"] = ir.color, ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Eger", },		["IR Balatonfüred-Budapest"] = { ["title"] = ir.title, ["color"] = ir.color, ["icon"] = ir.icon, ["left terminus"] = "Balatonfüred", ["right terminus"] = "Budapest Déli", },		["IR Balatonszentgyörgy-Budapest"] = { ["title"] = ir.title, ["color"] = ir.color, ["icon"] = ir.icon, ["left terminus"] = "Balatonszentgyörgy", ["right terminus"] = "Budapest Déli", },		["IR Budapest-Debrecen"] = { ["title"] = ir.title, ["color"] = ir.color, ["icon"] = ir.icon, ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Debrecen", },		["IR Kaposvar-Győr"] = { ["title"] = ir.title, ["color"] = ir.color, ["icon"] = ir.icon, ["left terminus"] = "Kaposvar", ["right terminus"] = "Győr", },

-- Személyvonat ["S220"] = { ["title"] = "S220", ["color"] = "00aff0", ["icon"] = "", ["left terminus"] = "Kecskemét", ["right terminus"] = "Szolnok", },		["S225"] = { ["title"] = "S225", ["color"] = "00aff0", ["icon"] = "", ["left terminus"] = "Kecskemét", ["right terminus"] = "Szolnok", },		["S820"] = { ["title"] = "S820", ["color"] = "00aff0", ["icon"] = "", ["left terminus"] = "Hatvan", ["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 Szeged-Békéscsaba"] = { ["title"] = sz.title, ["color"] = sz.color, ["icon"] = sz.icon, ["left terminus"] = "Szeged", ["right terminus"] = "Békéscsaba", },		["Sz Szolnok-Szentes"] = { ["title"] = sz.title, ["color"] = sz.color, ["icon"] = sz.icon, ["left terminus"] = "Szolnok", ["right terminus"] = "Szentes", },		["Sz Vámosgyörk-Szolnok"] = { ["title"] = sz.title, ["color"] = sz.color, ["icon"] = sz.icon, ["left terminus"] = "Vámosgyörk", ["right terminus"] = "Szolnok", },		["Sz Veszprem-Győr"] = { ["title"] = sz.title, ["color"] = sz.color, ["icon"] = sz.icon, ["left terminus"] = "Veszprem", ["right terminus"] = "Győr", },

-- Budapest suburban services ["G10"] = { ["title"] = "G10", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Tatabánya", ["right terminus"] = "Budapest Keleti", },		["G30"] = { ["title"] = "G30", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Székesfehérvár", ["right terminus"] = "Budapest Déli", },		["G40"] = { ["title"] = "G40", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Dombóvár", ["right terminus"] = "Budapest Déli", },		["G43"] = { ["title"] = "G43", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Székesfehérvár", ["right terminus"] = "Kőbánya-Kispest", },		["G44"] = { ["title"] = "G44", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Tárnok", ["right terminus"] = "Budapest Déli", },		["G50"] = { ["title"] = "G50", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Szolnok", },		["G60"] = { ["title"] = "G60", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Szolnok", },		["G70"] = { ["title"] = "G70", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Szob", ["right terminus"] = "Budapest Nyugati", },		["G71"] = { ["title"] = "G71", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Vác", ["right terminus"] = "Budapest Nyugati", },		["G80"] = { ["title"] = "G80", ["color"] = "aacd46", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Isaszeg", },		["S10"] = { ["title"] = "S10", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Győr", ["right terminus"] = "Budapest Déli", },		["S12"] = { ["title"] = "S12", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Oroszlány", ["right terminus"] = "Budapest Déli", },		["S20"] = { ["title"] = "S20", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Szeged", },		["S21"] = { ["title"] = "S21", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Kecskemét", },		["S30"] = { ["title"] = "S30", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Székesfehérvár", ["right terminus"] = "Budapest Déli", },		["S34"] = { ["title"] = "S34", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Keszthely", ["right terminus"] = "Budapest Déli", },		["S36"] = { ["title"] = "S36", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Tárnok", ["right terminus"] = "Kőbánya-Kispest", },		["S40"] = { ["title"] = "S40", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Pusztaszabolcs", ["right terminus"] = "Budapest Déli", },		["S42"] = { ["title"] = "S42", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Dunaújváros", ["right terminus"] = "Budapest Déli", },		["S50"] = { ["title"] = "S50", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Szolnok", },		["S60"] = { ["title"] = "S60", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Sülysáp", },		["S70"] = { ["title"] = "S70", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Szob", ["right terminus"] = "Budapest Nyugati", },		["S71"] = { ["title"] = "S71", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Vác", ["right terminus"] = "Budapest Nyugati", },		["S72"] = { ["title"] = "S72", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Esztergom", ["right terminus"] = "Budapest Nyugati", },		["S76"] = { ["title"] = "S76", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Pilisvörösvár", ["right terminus"] = "Rákos", },		["S80"] = { ["title"] = "S80", ["color"] = "00aff0", ["text color"] = "FFFFFF", ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Füzesabony", },		["Z30"] = { ["title"] = "Z30", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Székesfehérvár", ["right terminus"] = "Budapest Déli", },		["Z40"] = { ["title"] = "Z40", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Dombóvár", ["right terminus"] = "Budapest Keleti", },		["Z42"] = { ["title"] = "Z42", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Dunaújváros", ["right terminus"] = "Budapest Keleti", },		["Z50"] = { ["title"] = "Z50", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Budapest Nyugati", ["right terminus"] = "Szolnok", },		["Z60"] = { ["title"] = "Z60", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Budapest Keleti", ["right terminus"] = "Szolnok", },		["Z70"] = { ["title"] = "Z70", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Szob", ["right terminus"] = "Budapest Nyugati", },		["Z72"] = { ["title"] = "Z72", ["color"] = "ffcd28", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Esztergom", ["right terminus"] = "Budapest Nyugati", },	},	["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