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

local p = {
	["system title"] = "[[Russian Railways]]",
	["system icon"] = "[[File:Russian Railways Logo.svg|link=Russian Railways|25px]]",
	["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"] = "[[Finland Station|Saint Petersburg–Finlyandsky]]",
		["Helsinki"] = "Helsinki Central Station",
		["Jining"] = "Jining railway station (Inner Mongolia)",
		["Kubinka I"] = y,
		["Moscow"] = "Moscow",
		["Moskovsky"] = "[[Moskovsky railway station (Saint Petersburg)|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 high-speed railway|Moscow–Saint Petersburg HSR]]",
			["left terminus"] = "Saint Petersburg",
			["right terminus"] = "Moscow",
		},	
		["Far East"] = {
			["title"] = "[[Baranovsky–Khasan line|Baranovsky–Khasan]]",
			["left terminus"] = "Baranovsky",
			["right terminus"] = "Khasan",
		},
		["Baikal–Amur"] = {
			["title"] = "[[Baikal–Amur Mainline]]",
			["left terminus"] = "Tayshet",
			["right terminus"] = "Sovetskaya Gavan",
		},
		["TSR"] = {
			["title"] = "[[Trans-Siberian Railway|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 Railway|Moscow–Brest]]",
			["color"] = "FF0000",
			["left terminus"] = "Brest",
			["right terminus"] = "Moscow Belorussky",
		},
		["Tolstoy"] = {
			["title"] = "''[[Tolstoy (train)|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 (train)|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 railway line|Leningradsky Suburban]]",
			["left terminus"] = "Tver",
			["right terminus"] = "Moscow Leningradsky",
		},
		["Express Primorya"] = {
			["title"] = "[[Aeroexpress|Express Primorya]]",
			["left terminus"] = "Knevichi",
			["right terminus"] = "Vladivostok",
		},
		["Paveletsky"] = {
			["title"] = "[[Paveletsky suburban railway line|Paveletsky Suburban]]",
			["left terminus"] = "Moscow Paveletsky",
			["right terminus"] = "Uzunovo",
		},
		["Gorkovsky"] = {
			["title"] = "[[Gorkovsky suburban railway line|Gorkovsky Suburban]]",
			["left terminus"] = "Moscow Kursky",
			["right terminus"] = "Vladimir",
			["types"] = {
				["Elektrogorsk"] = {
					["title"] = "<small>Elektrogorsk Branch</small>",
					["left terminus"] = "Pavlovsky Posad",
					["right terminus"] = "Elektrogorsk",
				}
			}
		},
		["Yaroslavsky"] = {
			["title"] = "[[Yaroslavsky suburban railway line|Yaroslavsky Suburban]]",
			["left terminus"] = "Moscow Yaroslavsky",
			["right terminus"] = "Balakirevo",
			["types"] = {
				["Fryazevo"] = {
					["title"] = "<small>Fryazevo Branch</small>",
					["left terminus"] = "Mytishchi",
					["right terminus"] = "Fryazevo",
				},
				["Fryazino"] = {
					["title"] = "<small>Fryazino Branch</small>",
					["left terminus"] = "Mytishchi",
					["right terminus"] = "Fryazino Passazhirskaya",
				},
				["Krasnoarmeysk"] = {
					["title"] = "<small>Krasnoarmeysk Branch</small>",
					["left terminus"] = "Sofrino",
					["right terminus"] = "Krasnoarmeysk",
				}
			}
		},
		["Savyolovsky"] = {
			["title"] = "[[Savyolovsky suburban railway line|Savyolovsky Suburban]]",
			["left terminus"] = "Moscow Savyolovsky",
			["right terminus"] = "Savyolovo",
		},
		["Kazansky"] = {
			["title"] = "[[Kazansky suburban railway line|Kazansky Suburban]]",
			["left terminus"] = "Moscow Kazansky",
			["right terminus"] = "Krivandino",
		},
		["Ryazansky"] = {
			["title"] = "[[Ryazansky suburban railway line|Ryazansky Suburban]]",
			["left terminus"] = "Moscow Kazansky",
			["right terminus"] = "Ryazan 1",
		},
		["Rizhsky"] = {
			["title"] = "[[Rizhsky suburban railway line|Rizhsky Suburban]]",
			["left terminus"] = "Shakhovskaya",
			["right terminus"] = "Moscow Rizhsky",
		},
		["Belorussky"] = {
			["title"] = "[[Belorussky suburban railway line|Belorussky Suburban]]",
			["left terminus"] = "Borodino",
			["right terminus"] = "Moscow Belorussky",
		},
		["Kiyevsky"] = {
			["title"] = "[[Kiyevsky suburban railway line|Kiyevsky Suburban]]",
			["left terminus"] = "Moscow Kiyevsky",
			["right terminus"] = "Kaluga-2",
			["types"] = {
				["Novoperedelkino"] = {
					["title"] = "<small>Novoperedelkino Branch</small>",
					["left terminus"] = "Solnechnaya",
					["right terminus"] = "Novoperedelkino",
				},
				["Aeroport"] = {
					["title"] = "<small>Aeroport Branch</small>",
					["left terminus"] = "Lesnoy Gorodok",
					["right terminus"] = "Aeroport",
				},
				["Kaluga-1"] = {
					["title"] = "<small>Kaluga-1 Branch</small>",
					["left terminus"] = "Tikhonova Pustyn",
					["right terminus"] = "Kaluga-1",
				}
			}
		},
		["Saint Petersburg - Hiitola"] = {
			["title"] = "[[Saint Petersburg–Hiitola railway|Saint Petersburg–Hiitola]]",
			["left terminus"] = "Khiytola",
			["right terminus"] = "Finland",
		},
		["Riihimäki - Saint Petersburg"] = {
			["title"] = "[[Riihimäki–Saint Petersburg railway|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"] = "[[Turkestan–Siberia Railway|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