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

local p = {
	["system title"] = "[[SNCF]]",
	["name format"] = "font-family:Arial; background-color:#000000; text-align:left; vertical-align:middle; font-size:150%; color:white; padding:5px",
	["system icon"] = "",
	["station format"] = {
		"%1 station",
		["Aéroport Charles de Gaulle"] = "Aéroport Charles de Gaulle 2 TGV",
		["Augsburg"] = hbf,
		["Barcelona"] = "[[Barcelona Sants railway station|Barcelona Sants]]",
		["Bardonecchia"] = rws,
		["Basel SBB"] = rws,
		["Bayonne"] = "Bayonne station (Nouvelle-Aquitaine)",
		["Bordeaux"] = "Bordeaux-Saint-Jean station",
		["Brussels-South"] = rws,
		["Chambéry"] = "Chambéry-Challes-les-Eaux station",
		["Colmar (Haut-Rhin)"] = "Colmar station (Haut-Rhin)",
		["Figueres–Vilafant"] = rws,
		["Frankfurt"] = "Frankfurt (Main) Hauptbahnhof",
		["Freiburg"] = hbf,
		["Genève"] = "[[Genève-Cornavin railway station|Genève-Cornavin]]",
		["Girona"] = rws,
		["Karlsruhe"] = hbf,
		["Latour-de-Carol"] = "Latour-de-Carol-Enveitg station",
		["Lausanne"] = rws,
		["Limoges"] = "Limoges-Bénédictins station",
		["Luxembourg"] = rws,
		["Marseille"] = "Marseille-Saint-Charles station",
		["Metz"] = "Metz-Ville station",
		["Milan"] = "Milano Porta Garibaldi railway station",
		["Montauban"] = "Montauban-Ville-Bourbon station",
		["Montparnasse"] = "Gare Montparnasse",
		["Montpellier"] = "Montpellier-Saint-Roch station",
		["München"] = hbf,
		["Novara"] = rws,
		["Oulx-Cesana-Claviere-Sestriere"] = rws,
		["Paris-Austerlitz"] = "Gare d'Austerlitz",
		["Paris-Bercy"] = "Gare de Paris Bercy",
		["Paris-Est"] = "Gare de l'Est",
		["Paris-Lyon"] = "Gare de Lyon",
		["Paris-Nord"] = "Gare du Nord",
		["Portbou"] = rws,
		["Saint-Gervais"] = "Saint-Gervais-les-Bains-Le Fayet station",
		["Strasbourg"] = "Strasbourg-Ville station",
		["Stuttgart"] = hbf,
		["Torino Porta Susa"] = rws,
		["Toulouse"] = "Toulouse-Matabiau station",
		["Ulm"] = hbf,
		["Zürich"] = hbf,
		["N"] = "[[List of TGV services#Intra-regional services|Northern France]]",
		["NE"] = "[[List of TGV services#Intra-regional services|Northern and Eastern France]]",
		["E"] = "[[List of TGV services#Intra-regional services|Eastern France]]",
		["SE"] = "[[List of TGV services#Intra-regional services|Southeastern France]]",
		["SW"] = "[[List of TGV services#Intra-regional services|Southwestern France]]",
		["W"] = "[[List of TGV services#Intra-regional services|Western France]]",
		["WSW"] = "[[List of TGV services#Intra-regional services|Western and Southwestern France]]",
	},
	["lines"] = {
		["TGV"] = {
			["title"] = "[[List of TGV services|TGV]]",
			["color"] = "808281",
			["types"] = {
				["Barcelona–Paris"] = {
					["title"] = "",
					["left terminus"] = "Barcelona",
					["right terminus"] = "Paris-Lyon",
				},
				["Bordeaux–Lille-Flandres"] = {
					["title"] = "",
					["left terminus"] = "Bordeaux",
					["right terminus"] = "Lille-Flandres",
				},
				["Bordeaux–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Bordeaux",
					["right terminus"] = "Marseille",
				},
				["Bourg-Saint-Maurice–Cherbourg"] = {
					["title"] = "",
					["left terminus"] = "Bourg-Saint-Maurice",
					["right terminus"] = "Cherbourg",
				},
				["Brest–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Brest",
					["right terminus"] = "Montparnasse",
				},
				["Brussels–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Marseille",
				},
				["Brussels–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Montpellier",
				},
				["Brussels–Nice"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Nice-Ville",
				},
				["Brussels–Perpignan"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Perpignan",
				},
				["E–SW"] = {
					["title"] = "",
					["left terminus"] = "E",
					["right terminus"] = "SW",
				},
				["E–W"] = {
					["title"] = "",
					["left terminus"] = "E",
					["right terminus"] = "W",
				},
				["Lannion–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Lannion",
					["right terminus"] = "Montparnasse",
				},
				["Le Havre–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Le Havre",
					["right terminus"] = "Marseille",
				},
				["Lille-Europe–Bordeaux"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Bordeaux",
				},
				["Lille-Europe–Bourg-Saint-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Bourg-Saint-Maurice",
				},
				["Lille-Europe–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Marseille",
				},
				["Lille-Europe–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Montpellier",
				},
				["Lille-Europe–Mulhouse"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Mulhouse-Ville",
				},
				["Lille-Europe–Nantes"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Nantes",
				},
				["Lille-Europe–Nice"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Nice-Ville",
				},
				["Lille-Europe–Rennes"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Rennes",
				},
				["Lille-Europe–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Toulouse",
				},
				["Lille-Flandres–Bordeaux"] = {
					["title"] = "",
					["left terminus"] = "Lille-Flandres",
					["right terminus"] = "Bordeaux",
				},
				["Lille-Flandres–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Lille-Flandres",
					["right terminus"] = "Marseille",
				},
				["Lille-Flandres–Mulhouse"] = {
					["title"] = "",
					["left terminus"] = "Lille-Flandres",
					["right terminus"] = "Mulhouse",
				},
				["Luxembourg–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Luxembourg",
					["right terminus"] = "Montpellier",
				},
				["Lyon–Barcelona"] = {
					["title"] = "",
					["left terminus"] = "Lyon-Part-Dieu",
					["right terminus"] = "Barcelona",
				},
				["Marne-la-Vallée–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Marne-la-Vallée–Chessy",
					["right terminus"] = "Marseille",
				},
				["Marseille–Annecy"] = {
					["title"] = "",
					["left terminus"] = "Marseille",
					["right terminus"] = "Annecy",
				},
				["Metz–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Metz",
					["right terminus"] = "Marseille",
				},
				["Metz–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Metz",
					["right terminus"] = "Montpellier",
				},
				["Montparnasse–Bordeaux"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Bordeaux",
				},
				["Montparnasse–Brest"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Brest",
				},
				["Montparnasse–La Rochelle"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "La Rochelle",
				},
				["Montparnasse–Le Croisic"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Le Croisic",
				},
				["Montparnasse–Les Sables-d'Olonne"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Les Sables-d'Olonne",
				},
				["Montparnasse–Nantes"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Nantes",
				},
				["Montparnasse–Poitiers"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Poitiers",
				},
				["Montparnasse–Quimper"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Quimper",
				},
				["Montparnasse–Rennes"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Rennes",
				},
				["Montparnasse–Saint-Malo"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Saint-Malo",
				},
				["Montparnasse–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Toulouse",
				},
				["Montparnasse–Tours"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Tours",
				},
				["Montparnasse–SW"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "SW",
				},
				["Montparnasse–W"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "W",
				},
				["Montpellier–Luxembourg"] = {
					["title"] = "",
					["left terminus"] = "Montpellier",
					["right terminus"] = "Luxembourg",
				},
				["Montpellier–Metz"] = {
					["title"] = "",
					["left terminus"] = "Montpellier",
					["right terminus"] = "Metz",
				},
				["Nancy–Nice"] = {
					["title"] = "",
					["left terminus"] = "Nancy-Ville",
					["right terminus"] = "Nice-Ville",
				},
				["Nantes–East"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "E",
				},
				["Nantes–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Montparnasse",
				},
				["Nantes–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Montpellier",
				},
				["North–Marseille"] = {
					["title"] = "",
					["left terminus"] = "N",
					["right terminus"] = "Marseille",
				},
				["NE–SE"] = {
					["title"] = "",
					["left terminus"] = "NE",
					["right terminus"] = "SE",
				},
				["Paris–Annecy"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Annecy",
				},
				["Paris–Avignon"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Avignon-Centre",
				},
				["Paris–Barcelona"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Barcelona",
				},
				["Paris–Besançon"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Besançon-Viotte",
				},
				["Paris–Bourg-Saint-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Bourg-Saint-Maurice",
				},
				["Paris–Évian-les-Bains"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Évian-les-Bains",
				},
				["Paris–Freiburg"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Freiburg",
				},
				["Paris–Genève"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Genève",
				},
				["Paris–Grenoble"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Grenoble",
				},
				["Paris–Lausanne"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Lausanne",
				},
				["Paris–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Marseille",
				},
				["Paris–Milan"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Milan",
				},
				["Paris–Miramas"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Miramas",
				},
				["Paris–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Montpellier",
				},
				["Paris–Mulhouse"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Mulhouse-Ville",
				},
				["Paris–München"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "München",
				},
				["Paris–Nice"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Nice-Ville",
				},
				["Paris–SE"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "SE",
				},
				["Paris–Calais-Ville"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Calais-Ville",
				},
				["Paris–Dunkerque"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Dunkerque",
				},
				["Paris–Rang-du-Fliers"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Rang-du-Fliers",
				},
				["Paris–Tourcoing"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Tourcoing",
				},
				["Paris–Zürich"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Zürich",
				},
				["Rennes–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Rennes",
					["right terminus"] = "Marseille",
				},
				["Quimper–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Quimper",
					["right terminus"] = "Montparnasse",
				},
				["Saint-Malo–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Saint-Malo",
					["right terminus"] = "Montparnasse",
				},
				["Strasbourg–Bordeaux"] = {
					["title"] = "",
					["left terminus"] = "Strasbourg",
					["right terminus"] = "Bordeaux",
				},
				["Strasbourg–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Strasbourg",
					["right terminus"] = "Marseille",
				},
				["Strasbourg–Nantes"] = {
					["title"] = "",
					["left terminus"] = "Strasbourg",
					["right terminus"] = "Nantes",
				},
				["Strasbourg–Rennes"] = {
					["title"] = "",
					["left terminus"] = "Strasbourg",
					["right terminus"] = "Rennes",
				},
				["SE–SW"] = {
					["title"] = "",
					["left terminus"] = "SE",
					["right terminus"] = "SW",
				},
				["SE–W"] = {
					["title"] = "",
					["left terminus"] = "SE",
					["right terminus"] = "W",
				},
				["WSW–SE"] = {
					["title"] = "",
					["left terminus"] = "WSW",
					["right terminus"] = "SE",
				},
			},
		},
		["TGV inOui"] = {
			["title"] = "[[TGV inOui]]",
			["color"] = "930c38",
			["types"] = {
				["Arcachon–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Arcachon",
					["right terminus"] = "Montparnasse",
				},
				["Bordeaux–Lille-Flandres"] = {
					["title"] = "",
					["left terminus"] = "Bordeaux",
					["right terminus"] = "Lille-Flandres",
				},
				["Bordeaux–Strasbourg"] = {
					["title"] = "",
					["left terminus"] = "Bordeaux",
					["right terminus"] = "Strasbourg",
				},
				["Boulogne or Rang-du-Fliers–Paris"] = {
					["title"] = "",
					["left terminus"] = {"Boulogne-Ville", "Rang-du-Fliers"},
					["right terminus"] = "Paris-Nord",
				},
				["Brussels–Lyon"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Lyon-Perrache",
				},
				["Brussels–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Marseille",
				},
				["Brussels–Perpignan"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Perpignan",
				},
				["Brussels–Strasbourg"] = {
					["title"] = "",
					["left terminus"] = "Brussels-South",
					["right terminus"] = "Strasbourg",
				},
				["Calais-Ville–Paris"] = {
					["title"] = "",
					["left terminus"] = "Calais-Ville",
					["right terminus"] = "Paris-Nord",
				},
				["Dunkerque–Paris"] = {
					["title"] = "",
					["left terminus"] = "Dunkerque",
					["right terminus"] = "Paris-Nord",
				},
				["East–Nantes"] = {
					["title"] = "",
					["left terminus"] = "E",
					["right terminus"] = "Nantes",
				},
				["Frankfurt–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Frankfurt",
					["right terminus"] = "Marseille",
				},
				["Hendaye–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Hendaye",
					["right terminus"] = "Montparnasse",
				},
				["Le Havre–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Le Havre",
					["right terminus"] = "Marseille",
				},
				["Lille-Europe–Bourg-Saint-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Lille-Europe",
					["right terminus"] = "Bourg-Saint-Maurice",
				},
				["Lille-Flandres–S"] = {
					["title"] = "",
					["left terminus"] = "Lille-Flandres",
					["right terminus"] = {"Nantes", "Lyon-Perrache", "Marseille"},
				},
				["Luxembourg–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Luxembourg",
					["right terminus"] = "Marseille",
				},
				["Luxembourg–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Luxembourg",
					["right terminus"] = "Montpellier Sud de France",
				},
				["Luxembourg–SE"] = {
					["title"] = "",
					["left terminus"] = "Luxembourg",
					["right terminus"] = "SE",
				},
				["Lyon–Nice"] = {
					["title"] = "",
					["left terminus"] = "Lyon-Part-Dieu",
					["right terminus"] = "Nice-Ville",
				},
				["Lyon–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Lyon-Part-Dieu",
					["right terminus"] = "Toulouse",
				},
				["Marseille–Frankfurt"] = {
					["title"] = "",
					["left terminus"] = "Marseille",
					["right terminus"] = "Frankfurt",
				},
				["Marseille–Luxembourg"] = {
					["title"] = "",
					["left terminus"] = "Marseille",
					["right terminus"] = "Luxembourg",
				},
				["Metz–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Metz",
					["right terminus"] = "Montpellier",
				},
				["Montparnasse–Arcachon"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Arcachon",
				},
				["Montparnasse–Nantes"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Nantes",
				},
				["Montparnasse–Tarbes"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Tarbes",
				},
				["Montparnasse–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Montparnasse",
					["right terminus"] = "Toulouse",
				},
				["Montpellier–Metz"] = {
					["title"] = "",
					["left terminus"] = "Montpellier",
					["right terminus"] = "Metz",
				},
				["Nancy–Nice"] = {
					["title"] = "",
					["left terminus"] = "Nancy-Ville",
					["right terminus"] = "Nice-Ville",
				},
				["Nantes–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Marseille",
				},
				["Nantes–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Montparnasse",
				},
				["Nice–Nancy"] = {
					["title"] = "",
					["left terminus"] = "Nice-Ville",
					["right terminus"] = "Nancy-Ville",
				},
				["Paris–Annecy"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Annecy",
				},
				["Paris–Barcelona"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Barcelona",
				},
				["Paris–Bar-le-Duc"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Bar-le-Duc",
				},
				["Paris–Besançon-Viotte"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Besançon-Viotte",
				},
				["Paris–Béziers"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Béziers",
				},
				["Paris–Boulogne"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Boulogne-Ville",
				},
				["Paris–Bourg-Saint-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Bourg-Saint-Maurice",
				},
				["Paris–Chalon-sur-Saône"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Chalon-sur-Saône",
				},
				["Paris–Colmar"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Colmar (Haut-Rhin)",
				},
				["Paris–Évian-les-Bains"] = {
					["title"] = "",
					["note-mid"] = "Weekends and holidays",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Évian-les-Bains",
				},
				["Paris–Freiburg"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Freiburg",
				},
				["Paris–Grenoble"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Grenoble",
				},
				["Paris–Hyères"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Hyères",
				},
				["Paris–Luxembourg"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Luxembourg",
				},
				["Paris–Lyon"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Lyon-Perrache",
				},
				["Paris–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Marseille",
				},
				["Paris–Menton"] = {
					["title"] = "",
					["note-mid"] = "Seasonal service",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Menton",
				},
				["Paris–Milan"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Milan",
				},
				["Paris–Miramas"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Miramas",
				},
				["Paris–Montpellier"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Montpellier",
				},
				["Paris–Mulhouse"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Mulhouse-Ville",
				},
				["Paris–Nancy"] =  {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Nancy-Ville",
				},
				["Paris–Nice"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Nice-Ville",
				},
				["Paris–Perpignan"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Perpignan",
				},
				["Paris–Reims"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Reims",
				},
				["Paris–Remiremont"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Remiremont",
				},
				["Paris–Sedan"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Sedan",
				},
				["Paris–Saint-Étienne-Châteaucreux"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Saint-Étienne-Châteaucreux",
				},
				["Paris–Saint-Gervais-les-Bains"] = {
					["title"] = "",
					["note-mid"] = "Seasonal service",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Saint-Gervais",
				},
				["Paris–Strasbourg"] = {
					["title"] = "",
					["left terminus"] = "Paris-Est",
					["right terminus"] = "Strasbourg",
				},
				["Paris–Toulon"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Toulon",
				},
				["Paris–Valenciennes"] = {
					["title"] = "",
					["left terminus"] = "Paris-Nord",
					["right terminus"] = "Valenciennes",
				},
				["Quimper–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Quimper",
					["right terminus"] = "Montparnasse",
				},
				["Quimper–Lille"] = {
					["title"] = "",
					["note-mid"] = "Seasonal service",
					["left terminus"] = "Quimper",
					["right terminus"] = {"Lille-Flandres", "Lille-Europe"}
				},
				["Rennes–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Rennes",
					["right terminus"] = "Marseille",
				},
				["Rennes–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Rennes",
					["right terminus"] = "Montparnasse",
				},
				["North–Southeast"] = {
					["title"] = "",
					["left terminus"] = "N",
					["right terminus"] = "SE",
				},
				["North–Strasbourg"] = {
					["title"] = "",
					["left terminus"] = "N",
					["right terminus"] = "Strasbourg",
				},
				["Toulouse–Lyon"] = {
					["title"] = "",
					["left terminus"] = "Toulouse",
					["right terminus"] = "Lyon-Part-Dieu",
				},
				["Toulouse–Montparnasse"] = {
					["title"] = "",
					["left terminus"] = "Toulouse",
					["right terminus"] = "Montparnasse",
				},
				["Tourcoing–Paris"] = {
					["title"] = "",
					["left terminus"] = "Tourcoing",
					["right terminus"] = "Paris-Nord",
				},
				["Valenciennes–Paris"] = {
					["title"] = "",
					["left terminus"] = "Valenciennes",
					["right terminus"] = "Paris-Nord",
				},
				["West–East"] = {
					["title"] = "",
					["left terminus"] = "W",
					["right terminus"] = "E",
				},
			},
		},
		["TGV Lyria"] = {
			["title"] = "[[TGV Lyria]]",
			["color"] = "eb0a28",
			["types"] = {
				["Lausanne–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Lausanne",
					["right terminus"] = "Marseille",
				},
				["Paris–Lausanne"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Lausanne",
				},
				["Paris–Genève"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Genève",	
				},
				["Paris–Zürich"] = {
					["title"] = "",
					["left terminus"] = "Paris-Lyon",
					["right terminus"] = "Zürich",
				},
			}
		},
		["Intercités"] = {
			["title"] = "[[Intercités]]",
			["color"] = "82be00",
			["types"] = {
				["Bordeaux–Marseille"] = {
					["title"] = "",
					["left terminus"] = "Bordeaux",
					["right terminus"] = "Marseille",
				},
				["Clermont-Ferrand–Béziers"] = {
					["title"] = "",
					["left terminus"] = "Clermont-Ferrand",
					["right terminus"] = "Béziers",
				},
				["Hendaye–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Hendaye",
					["right terminus"] = "Toulouse",
				},
				["Nantes–Bordeaux"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Bordeaux",
				},
				["Nantes–Lyon"] = {
					["title"] = "",
					["left terminus"] = "Nantes",
					["right terminus"] = "Lyon-Perrache",
				},
				["Paris–Clermont-Ferrand"] = {
					["title"] = "",
					["left terminus"] = "Paris-Bercy",
					["right terminus"] = "Clermont-Ferrand",
				},
				["Paris–Nevers"] = {
					["title"] = "",
					["left terminus"] = "Paris-Bercy",
					["right terminus"] = "Nevers",
				},
				["Paris–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Toulouse",
				},
			},
		},
		["Intercités de nuit"] = {
			["title"] = "[[Intercités de nuit|Intercités (night)]]",
			["color"] = "82be00",
			["types"] = {
				["Paris–Albi"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Albi-Ville",
				},
				["Paris–Briançon"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Briançon",
				},
				["Paris–Cerbère"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Cerbère",
				},
				["Paris–Hendaye"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Hendaye",
				},
				["Paris–Latour-de-Carol"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Latour-de-Carol",
				},
				["Paris–Nice"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Nice-Ville",
				},
				["Paris–Toulouse"] = {
					["title"] = "",
					["left terminus"] = "Paris-Austerlitz",
					["right terminus"] = "Toulouse",
				},
			},
		},
	},
}

return p