Jump to content

Module:Adjacent stations/EuroCity

Permanently protected module
From Wikipedia, the free encyclopedia

local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local hb = "[[%1 Hauptbahnhof|%1 HB]]"

local ec = {
	["title"] = "[[EuroCity]]",
	["color"] = "ff0000",
}

local p = {
	["system title"] = "[[EuroCity]]",
	["system icon"] = "",
	["station format"] = {
		"%1 railway station",
		["Augsburg"] = hbf,
		["Frankfurt (Main)"] = hbf,
		["Freiburg"] = hbf,
		["Graz"] = hbf,
		["Hamburg"] = hbf,
		["Innsbruck"] = hbf,
		["Karlsruhe"] = hbf,
		["Klagenfurt"] = hbf,
		["Lindau-Reutin"] = "Lindau-Reutin station",
		["Leoben"] = hbf,
		["München"] = hbf,
		["Münster"] = hbf,
		["Prague"] = "Praha hlavní nádraží",
		["Saarbrücken"] = hbf,
		["Salzburg"] = hbf,
		["Sion"] = "Sion railway station (Switzerland)",
		["Wien"] = hbf,
		["Wiener Neustadt"] = hbf,
		["Wörgl"] = hbf,
		["Würzburg"] = hbf,
		["Zagreb Glavni kolodvor"] = "%1",
		["Zürich"] = hb,
	},
	["lines"] = {
		["EC Basel-Milan"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Basel SBB",
			["right terminus"] = "Milano Centrale",					
		},
		["EC Copenhagen-Hamburg"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Copenhagen Central",
			["right terminus"] = "Hamburg",					
		},
		-- 218-219
		["EC Frankfurt-Graz"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Graz",					
		},
		-- 112-113, 117
		["EC Frankfurt-Klagenfurt"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Klagenfurt",					
		},
		["EC Frankfurt-Milan"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Milano Porta Garibaldi",					
		},
		-- 212-213
		["EC Frankfurt-Zagreb"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Frankfurt (Main)",
			["right terminus"] = "Zagreb Glavni kolodvor",					
		},
		["EC Geneva-Milan"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Genève-Cornavin",
			["right terminus"] = {"Milano Centrale", "Venezia Santa Lucia"},
		},
		-- 104-105
		["EC Graz-Przemysl"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Graz",
			["right terminus"] = "Przemyśl Główny",
		},
		["EC Hamburg-Interlaken"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Interlaken Ost",					
		},
		["EC Hamburg-Prague"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Prague",					
		},
		["EC Hamburg-Zürich"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Hamburg-Altona",
			["right terminus"] = "Zürich",					
		},
		-- 330-337
		["EC Linz-Prague"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Linz",
			["right terminus"] = "Prague",					
		},
		-- 80-81; 87-88
		["EC Munich-Bologna"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "München",
			["right terminus"] = "Bologna Centrale",					
		},
		-- 286-289
		["EC Munich-Innsbruck"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "München",
			["right terminus"] = "Innsbruck",					
		},
		-- 83, 84
		["EC Munich-Rimini"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "München",
			["right terminus"] = "Rimini",					
		},
		-- 82, 85
		["EC Munich-Venice"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "München",
			["right terminus"] = "Venezia Santa Lucia",					
		},
		-- 86, 89
		["EC Munich-Verona"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "München",
			["right terminus"] = "Verona Porta Nuova",					
		},
		-- 115
		["EC Münster-Klagenfurt"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["note-mid"] = "EC 115 only",
			["left terminus"] = "Münster",
			["right terminus"] = "Klagenfurt",					
		},
		-- 216-217
		["EC Saarbrücken-Graz"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Saarbrücken",
			["right terminus"] = "Graz",
		},
		-- 141-149; 340-341
		["EC Vienna-Budapest"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Wien",
			["right terminus"] = "Budapest Keleti",					
		},
		-- 143, 146
		["EC Vienna-Cluj Napoca"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Wien",
			["right terminus"] = "Cluj Napoca",					
		},
		-- 106, 107
		["EC Vienna-Gdynia"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Wien",
			["right terminus"] = "Gdynia Główna",					
		},
		-- 100, 101
		["EC Vienna-Katowice"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Wien",
			["right terminus"] = "Katowice",					
		},
		-- 102, 103
		["EC Vienna-Warsaw"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Wien",
			["right terminus"] = "Warszawa Wschodnia",					
		},
		-- 150-151
		["EC Trieste-Vienna"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Trieste Centrale",
			["right terminus"] = "Wien",					
		},
		-- 158-159
		["EC Zagreb-Vienna"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Zagreb Glavni kolodvor",
			["right terminus"] = "Wien",					
		},
		-- 163-164
		["EC Zürich-Graz"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Zürich",
			["right terminus"] = "Graz",
		},
		["EC Zürich-Milan"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Zürich",
			["right terminus"] = {"Bologna Centrale", "Genova Piazza Principe", "Milano Centrale", "Venezia Santa Lucia"},					
		},
		["EC Zürich-München"] = {
			["title"] = ec.title,
			["color"] = ec.color,
			["left terminus"] = "Zürich",
			["right terminus"] = "München",
		},
	},
	["aliases"] = {
		["basel-milan"] = "EC Basel-Milan",
		["frankfurt-graz"] = "EC Frankfurt-Graz",
		["frankfurt-klagenfurt"] = "EC Frankfurt-Klagenfurt",
		["frankfurt-milan"] = "EC Frankfurt-Milan",
		["frankfurt-zagreb"] = "EC Frankfurt-Zagreb",
		["geneva-milan"] = "EC Geneva-Milan",
		["graz-przemysl"] = "EC Graz-Przemysl",
		["hamburg-interlaken"] = "EC Hamburg-Interlaken",
		["hamburg-prague"] = "EC Hamburg-Prague",
		["hamburg-zürich"] = "EC Hamburg-Zürich",
		["munich-bologna"] = "EC Munich-Bologna",
		["munich-innsbruck"] = "EC Munich-Innsbruck",
		["munich-rimini"] = "EC Munich-Rimini",
		["munich-venice"] = "EC Munich-Venice",
		["munich-verona"] = "EC Munich-Verona",
		["münster-klagenfurt"] = "EC Münster-Klagenfurt",
		["saarbrücken-graz"] = "EC Saarbrücken-Graz",
		["transalpin"] = "EC Zürich-Graz",
		["vienna-budapest"] = "EC Vienna-Budapest",
		["vienna-cluj napoca"] = "EC Vienna-Cluj Napoca",
		["trieste-vienna"] = "EC Trieste-Vienna",
		["zagreb-vienna"] = "EC Zagreb-Vienna",
		["zürich-graz"] = "EC Zürich-Graz",
		["zürich-milan"] = "EC Zürich-Milan",
		["zürich-münchen"] = "EC Zürich-München",		
	}
}

return p