Module:Adjacent stations/RZD

local x = "%1 station" local y = "%1"

local p = { ["system title"] = "Russian Railways", ["system icon"] = "", ["name format"] = "font-size: 150%; padding: 0.4em; border-bottom: 4px solid #FF0000; background-color: black; color: white; font-weight: normal; letter-spacing: 1px;", ["header background color"] = "FF0000", ["header text color"] = "FFFFFF", ["station format"] = { "%1 railway station", ["Berlin"] = "Berlin Ostbahnhof", ["Biryulyovo-Tovarnaya"] = y,		["Brest"] = "Brest-Tsentralny railway station", ["Dmitrovskaya"] = { ["Rizhsky"] = "Dmitrovskaya railway station (Rizhskoye line)", ["Savyolovsky"] = "Dmitrovskaya railway station (Savyolovskoye line)", },		["Finland"] = "Saint Petersburg–Finlyandsky", ["Helsinki"] = "Helsinki Central Station", ["Jining"] = "Jining railway station (Inner Mongolia)", ["Kubinka I"] = y,		["Moscow"] = "Moscow", ["Moskovsky"] = "St. Petersburg–Glavny", ["Nice-Ville"] = x,		["Paris-Est"] = "Gare de l'Est", ["Petrovsko-Razumovskaya"] = { ["Leningradsky"] = "Petrovsko-Razumovskaya railway station (Leningradskoye line)", ["Savyolovsky"] = "Petrovsko-Razumovskaya railway station (Savyolovskoye line)", },		["Podlipki-Dachnye"] = y,		["Prague"] = "Praha hlavní nádraží", ["Rizhkaya"] = "Rizhskaya railway station (Alekseyevskaya connecting branch line)", ["Rostokino"] = "Rostokino railway station (Yaroslavsky suburban direction)", ["Saint Petersburg"] = "Saint Petersburg", },	["lines"] = { ["_default"] = { ["color"] = "FF0000", },		["Moscow–Saint Petersburg HSR"] = { ["title"] = "Moscow–Saint Petersburg HSR", ["left terminus"] = "Saint Petersburg", ["right terminus"] = "Moscow", },			["Far East"] = { ["title"] = "Baranovsky–Khasan", ["left terminus"] = "Baranovsky", ["right terminus"] = "Khasan", },		["Baikal–Amur"] = { ["title"] = "Baikal–Amur Mainline", ["left terminus"] = "Tayshet", ["right terminus"] = "Sovetskaya Gavan", },		["TSR"] = { ["title"] = "Moscow–Vladivostok", ["left terminus"] = "Moscow Yaroslavsky", ["right terminus"] = "Vladivostok", },		["MTZ"] = { ["title"] = "Trans-Mongolian Railway", ["color"] = "4169E1", ["left terminus"] = "Ulan-Ude", ["right terminus"] = "Jining", },		["CER"] = { ["title"] = "Chinese Eastern Railway", ["color"] = "006400", ["left terminus"] = "Chita", ["right terminus"] = "Ussuriysk", },		["Moscow-Brest"] = { ["title"] = "Moscow–Brest", ["color"] = "FF0000", ["left terminus"] = "Brest", ["right terminus"] = "Moscow Belorussky", },		["Tolstoy"] = { ["title"] = "Tolstoy", ["left terminus"] = "Helsinki", ["right terminus"] = "Moscow Leningradsky", },		["Sapsan"] = { ["title"] = "Sapsan", ["left terminus"] = "Moskovsky", ["right terminus"] = "Moscow Leningradsky", ["types"] = { ["St Petersburg-Nizhny Novgorod"] = { ["title"] = "", ["left terminus"] = "Moskovsky", ["right terminus"] = "Nizhny Novgorod", }			}		},		["Lastochka"] = { ["title"] = "Lastochka", ["left terminus"] = "", ["right terminus"] = "", ["types"] = { ["Nizhny Novgorod line"] = { ["title"] = "", ["left terminus"] = "Moscow Kursky", ["right terminus"] = "Nizhny Novgorod", },				["Krasnodar-1 line"] = { ["title"] = "", ["left terminus"] = "Krasnodar-1", ["right terminus"] = "Alder", },				["Maykop line"] = { ["title"] = "", ["left terminus"] = "Maykop", ["right terminus"] = "Alder", },				["Mineralnye Vody line"] = { ["title"] = "", ["left terminus"] = "Mineralnye Vody", ["right terminus"] = "Alder", }			}		},		["Strizh"] = { ["title"] = "Strizh", ["color"] = "4169E1", ["left terminus"] = "", ["right terminus"] = "", ["types"] = { ["Nizhny Novgorod line"] = { ["title"] = "", ["left terminus"] = "Moscow Kursky", ["right terminus"] = "Nizhny Novgorod", },				["Berlin line"] = { ["title"] = "", ["left terminus"] = "Berlin", ["right terminus"] = "Moscow Belorussky", }			}		},		["EN"] = { ["title"] = "EuroNight", ["left terminus"] = "Nice-Ville", ["right terminus"] = "Moscow Belorussky", ["types"] = { ["Ost-West-Express"] = { ["title"] = "", ["note-mid"] = "Ost-West-Express", ["left terminus"] = "Paris-Est", ["right terminus"] = "Moscow Belorussky", },				["Vltava"] = { ["title"] = "", ["note-mid"] = "Vltava", ["left terminus"] = "Prague", ["right terminus"] = "Moscow Belorussky", }			}		},		["Leningradsky"] = { ["title"] = "Leningradsky Suburban", ["left terminus"] = "Tver", ["right terminus"] = "Moscow Leningradsky", },		["Express Primorya"] = { ["title"] = "Express Primorya", ["left terminus"] = "Knevichi", ["right terminus"] = "Vladivostok", },		["Paveletsky"] = { ["title"] = "Paveletsky Suburban", ["left terminus"] = "Moscow Paveletsky", ["right terminus"] = "Uzunovo", },		["Gorkovsky"] = { ["title"] = "Gorkovsky Suburban", ["left terminus"] = "Moscow Kursky", ["right terminus"] = "Vladimir", ["types"] = { ["Elektrogorsk"] = { ["title"] = " Elektrogorsk Branch ", ["left terminus"] = "Pavlovsky Posad", ["right terminus"] = "Elektrogorsk", }			}		},		["Yaroslavsky"] = { ["title"] = "Yaroslavsky Suburban", ["left terminus"] = "Moscow Yaroslavsky", ["right terminus"] = "Balakirevo", ["types"] = { ["Fryazevo"] = { ["title"] = " Fryazevo Branch ", ["left terminus"] = "Mytishchi", ["right terminus"] = "Fryazevo", },				["Fryazino"] = { ["title"] = " Fryazino Branch ", ["left terminus"] = "Mytishchi", ["right terminus"] = "Fryazino Passazhirskaya", },				["Krasnoarmeysk"] = { ["title"] = " Krasnoarmeysk Branch ", ["left terminus"] = "Sofrino", ["right terminus"] = "Krasnoarmeysk", }			}		},		["Savyolovsky"] = { ["title"] = "Savyolovsky Suburban", ["left terminus"] = "Moscow Savyolovsky", ["right terminus"] = "Savyolovo", },		["Kazansky"] = { ["title"] = "Kazansky Suburban", ["left terminus"] = "Moscow Kazansky", ["right terminus"] = "Krivandino", },		["Ryazansky"] = { ["title"] = "Ryazansky Suburban", ["left terminus"] = "Moscow Kazansky", ["right terminus"] = "Ryazan 1", },		["Rizhsky"] = { ["title"] = "Rizhsky Suburban", ["left terminus"] = "Shakhovskaya", ["right terminus"] = "Moscow Rizhsky", },		["Belorussky"] = { ["title"] = "Belorussky Suburban", ["left terminus"] = "Borodino", ["right terminus"] = "Moscow Belorussky", },		["Kiyevsky"] = { ["title"] = "Kiyevsky Suburban", ["left terminus"] = "Moscow Kiyevsky", ["right terminus"] = "Kaluga-2", ["types"] = { ["Novoperedelkino"] = { ["title"] = " Novoperedelkino Branch ", ["left terminus"] = "Solnechnaya", ["right terminus"] = "Novoperedelkino", },				["Aeroport"] = { ["title"] = " Aeroport Branch ", ["left terminus"] = "Lesnoy Gorodok", ["right terminus"] = "Aeroport", },				["Kaluga-1"] = { ["title"] = " Kaluga-1 Branch ", ["left terminus"] = "Tikhonova Pustyn", ["right terminus"] = "Kaluga-1", }			}		},		["Saint Petersburg - Hiitola"] = { ["title"] = "Saint Petersburg–Hiitola", ["left terminus"] = "Khiytola", ["right terminus"] = "Finland", },		["Riihimäki - Saint Petersburg"] = { ["title"] = "Riihimäki–Saint Petersburg", ["left terminus"] = "Riihimäki", ["right terminus"] = "Finland", },		["Sochi"] = { ["title"] = "Sochi Line", ["left terminus"] = "Krivenkovskaya", ["right terminus"] = {"Sochi Airport", "Vesioloye"}, },		["Turk–Sib"] = { ["title"] = "Novosibirsk–Lokot", ["left terminus"] = "Novosibirsk", ["right terminus"] = "Lokot", },		["Beloostrov - Saint Petersburg"] = { ["title"] = "Saint Petersburg–Beloostrov", ["left terminus"] = "Beloostrov", ["right terminus"] = "Finland", },		["Murmansk"] = { ["title"] = "Kirov Railway", ["left terminus"] = "Murmansk", ["right terminus"] = "Moskovsky", }	} }

return p