Module:Adjacent stations/National Railway Company of Belgium

local IC_color = "FF0000"

local p = {
	["system title"] = "[[National Railway Company of Belgium|NMBS/SNCB]]",
	["system icon"] = "[[File:SNCB logo.svg|15px|link=National Railway Company of Belgium]]",
	["name format"] = "font-size: 160%; color: #003399;",
	["header background color"] = "003399",
	["header text color"] = "FFFFFF",
	["station format"] = {
		"%1 railway station",
		["Aachen Hbf"] = "[[Aachen Hauptbahnhof|Aachen Hbf]]",
		["Antwerp"] = "[[Antwerpen-Centraal railway station|Antwerpen-Centraal]]",
		["BRU"] = "[[Brussels National Airport railway station|Brussels National Airport]]",
		["Brussels-North"] = "[[Brussels-North railway station|Bruxelles-Nord / Brussel-Noord]]",
		["Brussels-South"] = "[[Brussels-South railway station|Bruxelles-Midi / Brussel-Zuid]]",
		["Charleroi-Sud"] = "Charleroi-Central railway station",
		["Essen"] = "[[Essen railway station, Belgium|Essen]]",
		["Gent"] = "[[Gent-Sint-Pieters_railway_station|Gent-Sint-Pieters]]",
		["Halle"] = "[[Halle railway station, Belgium|Halle]]",
		["Haren"] = "[[Haren railway station (Brussels)|Haren]]",
		["Heide"] = "[[Heide railway station, Belgium|Heide]]",
		["Herne"] = "[[Herne railway station (Belgium)|Herne]]",
		["Hove"] = "[[Hove railway station, Belgium|Hove]]",
		["Liege"] = "[[Liège-Guillemins railway station|Liège-Guillemins]]",
		["Lille"] = "[[Lille-Flandres station|Lille-Flandres]]",
		["Lille-Flandres"] = "[[Lille-Flandres station|Lille-Flandres]]",
		["Maastricht"]="[[Maastricht railway station|Maastricht]]",
		["Melle"] = "[[Melle railway station, Belgium|Melle]]",
		["Namur"] = "[[Namur railway station (Belgium)|Namur]]",
		["Statte"] = "[[Statte railway station, Belgium|Statte]]",
		["Waterloo"] = "[[Waterloo railway station, Belgium|Waterloo]]",
		["Blankenberge and Knokke"] = "[[Blankenberge railway station|Blankenberge]] and [[Knokke railway station|Knokke]]",
		["Lille and Poperinge"] = "[[Lille-Flandres station|Lille-Flandres]] and [[Poperinge railway station|Poperinge]]",
		["?"] = "<span class=\"error\">ERROR</span>"
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[List of Belgian railway services|%1]]",
			["text color"] = "ffffff",
			["color"] = "1A389A",
		},
		["IC 01"] = {
			["color"] = IC_color,
			["left terminus"] = "Oostende",
			["right terminus"] = "Eupen"
		},
		["IC 02"] = {
			["color"] = IC_color,
			["left terminus"] = "Oostende",
			["right terminus"] = "Antwerpen-Centraal",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = "Oostende"
				}
			}
		},
		["IC 03"] = {
			["color"] = IC_color,
			["left terminus"] = {"Blankenberge", "Knokke"},
			["right terminus"] = "Genk"
		},
		["IC 04"] = {
			["color"] = IC_color,
			["left terminus"] = {"Lille", "Poperinge"},
			["right terminus"] = "Antwerpen-Centraal",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = {"Lille", "Poperinge"}
				}
			}
		},
		["IC 05"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Charleroi-Sud"
		},
		["IC 06"] = {
			["color"] = IC_color,
			["left terminus"] = "Tournai",
			["right terminus"] = "Brussels National Airport",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Brussels National Airport",
					["right terminus"] = "Tournai"
				}
			}
		},
		["IC 06A"] = {
			["color"] = IC_color,
			["left terminus"] = "Mons",
			["right terminus"] = "Brussels National Airport",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Brussels National Airport",
					["right terminus"] = "Mons"
				}
			}
		},
		["IC 07"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Charleroi-Sud"
		},
		["IC 08"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Hasselt"
		},
		["IC 09"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Leuven",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Liège-Guillemins"
				},
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Leuven",
					["right terminus"] = "Antwerpen-Centraal"
				}
			}
		},
		["IC 10"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = {"Hamont", "Hasselt"}
		},
		["IC 11"] = {
			["color"] = IC_color,
			["left terminus"] = "Binche",
			["right terminus"] = "Turnhout"
		},
		["IC 12"] = {
			["color"] = IC_color,
			["left terminus"] = "Kortrijk",
			["right terminus"] = "Welkenraedt",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Gent"
				}
			}
		},
		["IC 13"] = {
			["color"] = IC_color,
			["left terminus"] = "Hasselt",
			["right terminus"] = "Maastricht",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Liège-Guillemins"
				}
			}
		},
		["IC 14"] = {
			["color"] = IC_color,
			["left terminus"] = "Quiévrain",
			["right terminus"] = "Liège-Guillemins"
		},
		["IC 15"] = {
			["color"] = IC_color,
			["left terminus"] = "Noorderkempen",
			["right terminus"] = "Antwerpen-Centraal"
		},
		["IC 16"] = {
			["color"] = IC_color,
			["left terminus"] = "Brussels-South",
			["right terminus"] = "Luxembourg"
		},
		["IC 17"] = {
			["color"] = IC_color,
			["left terminus"] = "Brussels National Airport",
			["right terminus"] = "Dinant",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Brussels-South"
				}
			}
		},
		["IC 18"] = {
			["color"] = IC_color,
			["left terminus"] = "Brussels-South",
			["right terminus"] = "Liège-Saint-Lambert"
		},
		["IC 19"] = {
			["color"] = IC_color,
			["left terminus"] = "Lille",
			["right terminus"] = "Namur"
		},
		["IC 20"] = {
			["color"] = IC_color,
			["left terminus"] = "Gent",
			["right terminus"] = "Tongeren",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Lokeren"
				},
				["reverse weekends"] = {
					["title"] = "weekends",
					["left terminus"] = "Lokeren",
					["right terminus"] = "Gent"
				}
			}
		},
		["IC 21"] = {
			["color"] = IC_color,
			["left terminus"] = "Gent",
			["right terminus"] = "Leuven"
		},
		["IC 22"] = {
			["color"] = IC_color,
			["left terminus"] = "Essen",
			["right terminus"] = "Brussels-South",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = "Binche"
				},
				["reverse weekends"] = {
					["title"] = "weekends",
					["left terminus"] = "Binche",
					["right terminus"] = "Antwerpen-Centraal"
				}
			}
		},
		["IC 23A"] = {
			["color"] = IC_color,
			["left terminus"] = "Brugge",
			["right terminus"] = "Brussels National Airport",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Brussels National Airport",
					["right terminus"] = "Brugge"
				}
			}
		},
		["IC 23"] = {
			["color"] = IC_color,
			["left terminus"] = "Oostende",
			["right terminus"] = "Brussels National Airport",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Brussels National Airport",
					["right terminus"] = "Oostende"
				}
			}
		},
		["IC 24"] = {
			["color"] = IC_color,
			["left terminus"] = "Charleroi-Sud",
			["right terminus"] = "Couvin",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Couvin",
					["right terminus"] = "Charleroi-Sud"
				},
				["reverse weekends"] = {
					["title"] = "weekends",
					["left terminus"] = "Couvin",
					["right terminus"] = "Charleroi-Sud"
				}
			}
		},
		["IC 25"] = {
			["color"] = IC_color,
			["left terminus"] = "Mons",
			["right terminus"] = "Herstal",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Mouscron",
					["right terminus"] = "Liers"
				}
			}
		},
		["IC 26"] = {
			["color"] = IC_color,
			["left terminus"] = "Kortrijk",
			["right terminus"] = "Sint-Niklaas",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Sint-Niklaas",
					["right terminus"] = "Kortrijk"
				}
			}
		},
		["IC 27"] = {
			["color"] = IC_color,
			["left terminus"] = "Brussels National Airport",
			["right terminus"] = "Charleroi-Sud"
		},
		["IC 28"] = {
			["color"] = IC_color,
			["left terminus"] = "De Panne",
			["right terminus"] = "Antwerpen-Centraal",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Gent"
				},
				["reverse weekends"] = {
					["title"] = "weekends",
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = "Gent"
				}
			}
		},
		["IC 29"] = {
			["color"] = IC_color,
			["left terminus"] = "De Panne",
			["right terminus"] = "Landen"
		},
		["IC 30"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Turnhout"
		},
		["IC 31"] = {
			["color"] = IC_color,
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Brussels-South",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Charleroi-Sud"
				},
				["reverse weekends"] = {
					["title"] = "weekends",
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = "Charleroi-Sud"
				}
			}
		},
		["IC 32"] = {
			["color"] = IC_color,
			["left terminus"] = "Brugge",
			["right terminus"] = "Kortrijk"
		},
		["IC 33"] = {
			["color"] = IC_color,
			["left terminus"] = "Liers",
			["right terminus"] = "Luxembourg",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Luxembourg",
					["right terminus"] = "Liers"
				}
			}
		},
		["IC J"] = {
			["color"] = IC_color,
			["left terminus"] = "Brussels-South",
			["right terminus"] = "Luxembourg"
		},
		["L 01"] = {
			["left terminus"] = "Namur",
			["right terminus"] = "Liège-Guillemins"
		},
		["L 02"] = {
			["left terminus"] = "Zeebrugge-Dorp",
			["right terminus"] = "Mechelen",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Zeebrugge-Strand",
					["right terminus"] = "Gent"
				}
			}
		},
		["L 03"] = {
			["left terminus"] = "Leuven",
			["right terminus"] = "Hasselt"
		},
		["L 04"] = {
			["left terminus"] = "Jurbise",
			["right terminus"] = "Braine-le-Comte"
		},
		["L 05"] = {
			["left terminus"] = "Eeklo",
			["right terminus"] = {"Ronse", "Kortrijk"},
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Ronse"
				},
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = {"Ronse", "Kortrijk"},
					["right terminus"] = "Eeklo"
				}
			}
		},
		["L 06A"] = {
			["left terminus"] = "Manage",
			["right terminus"] = "Charleroi-South"
		},
		["L 06"] = {
			["left terminus"] = "Luttre",
			["right terminus"] = "Charleroi-South",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Manage"
				}
			}
		},
		["L 07"] = {
			["left terminus"] = "Erquelinnes",
			["right terminus"] = "Charleroi-South"
		},
		["L 08"] = {
			["left terminus"] = "Ottignies",
			["right terminus"] = "Namur"
		},
		["L 09"] = {
			["left terminus"] = "Spa-Géronstère",
			["right terminus"] = "Aachen Hbf"
		},
		["L 10"] = {
			["left terminus"] = "Ciney",
			["right terminus"] = "Libramont"
		},
		["L 11"] = {
			["left terminus"] = "Namur",
			["right terminus"] = "Libramont"
		},
		["L 12"] = {
			["left terminus"] = "Libramont",
			["right terminus"] = "Luxembourg"
		},
		["L 13"] = {
			["left terminus"] = "Libramont",
			["right terminus"] = "Arlon",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Virton"
				}
			}
		},
		["L 14"] = {
			["left terminus"] = "Ottignies",
			["right terminus"] = "Jambes"
		},
		["L 15"] = {
			["left terminus"] = "Liers",
			["right terminus"] = "Marloie"
		},
		["L 16"] = {
			["left terminus"] = "Namur",
			["right terminus"] = "Assesse",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Ciney"
				}
			}
		},
		["L 17"] = {
			["left terminus"] = "Herstal",
			["right terminus"] = "Verviers-Centraal"
		},
		["L 18"] = {
			["left terminus"] = "Quiévrain",
			["right terminus"] = "Manage"
		},
		["L 19"] = {
			["left terminus"] = "Braine-le-Comte",
			["right terminus"] = "Manage"
		},
		["L 20"] = {
			["left terminus"] = "Sint-Niklaas",
			["right terminus"] = "Leuven",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Mechelen"
				}
			}
		},
		["L 21"] = {
			["left terminus"] = "Waremme",
			["right terminus"] = "Liège-Guillemins",
			["types"] = {
				["weekends"] = {
					["left terminus"] = "Landen"
				}
			}
		},
		["L 22"] = {
			["left terminus"] = "Roosendaal",
			["right terminus"] = "Puurs",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Puurs",
					["right terminus"] = "Roosendaal"
				}
			}
		},
		["L 23"] = {
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Leuven",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Leuven",
					["right terminus"] = "Antwerpen-Centraal"
				}
			}
		},
		["L 24"] = {
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Mol"
		},
		["L 25"] = {
			["left terminus"] = "Gent",
			["right terminus"] = "Geraardsbergen"
		},
		["L 26"] = {
			["left terminus"] = "Quévy",
			["right terminus"] = "La Louvière-Sud"
		},
		["L 27"] = {
			["left terminus"] = "Sint-Niklaas",
			["right terminus"] = "Mechelen"
		},
		["L 28"] = {
			["left terminus"] = "Gent",
			["right terminus"] = "Mechelen",
			["types"] = {
				["weekends"] = {
					["right terminus"] = "Mechelen"
				}
			}
		},
		["L 29"] = {
			["left terminus"] = "Tournai",
			["right terminus"] = "Geraardsbergen"
		},
		["L 30"] = {
			["left terminus"] = "Lokeren",
			["right terminus"] = "Antwerpen-Centraal",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Antwerpen-Centraal",
					["right terminus"] = "Lokeren"
				}
			}
		},
		["R"] = {
			["title"] = "[[List of Belgian railway services|Regional]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["S 1"] = {
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Nivelles",
			["types"] = {
				["weekends"] = {
					["title"] = "weekends",
					["right terminus"] = "Brussels-South"
				},
				["weekends b"] = {
					["title"] = "weekends",
					["left terminus"] = "Brussels-North"
				}
			}
		},
		["S 2"] = {
			["left terminus"] = "Braine-le-Comte",
			["right terminus"] = "Leuven",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Leuven",
					["right terminus"] = "Braine-le-Comte"
				}
			}
		},
		["S 3"] = {
			["left terminus"] = "Dendermonde",
			["right terminus"] = "Oudenaarde",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Oudenaarde",
					["right terminus"] = "Dendermonde"
				}
			}
		},
		["S 4"] = {
			["left terminus"] = "Aalst",
			["right terminus"] = "Mechelen",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Mechelen",
					["right terminus"] = "Aalst"
				}
			}
		},
		["S 5"] = {
			["left terminus"] = "Mechelen",
			["right terminus"] = "Enghien",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Enghien",
					["right terminus"] = "Mechelen"
				}
			}
		},
		["S 6"] = {
			["left terminus"] = "Aalst",
			["right terminus"] = "Schaarbeek",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Schaarbeek",
					["right terminus"] = "Aalst"
				}
			}
		},
		["S 7"] = {
			["left terminus"] = "Vilvoorde",
			["right terminus"] = "Halle",
			["types"] = {
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Halle",
					["right terminus"] = "Vilvoorde"
				}
			}
		},
		["S 8"] = {
			["left terminus"] = "Brussels-South",
			["right terminus"] = "Louvain-la-Neuve-Université",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Louvain-la-Neuve-Université",
					["right terminus"] = "Brussels-South"
				}
			}
		},
		["S 9"] = {
			["left terminus"] = "Braine-l'Alleud",
			["right terminus"] = "Leuven",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Leuven",
					["right terminus"] = "Braine-l'Alleud"
				},
				["reverse weekdays"] = {
					["title"] = "weekdays",
					["left terminus"] = "Leuven",
					["right terminus"] = "Braine-l'Alleud"
				}
			}
		},
		["S 10"] = {
			["left terminus"] = "Dendermonde",
			["right terminus"] = "Aalst"
		},
		["S 10"] = {
			["left terminus"] = "Dendermonde",
			["right terminus"] = "Aalst",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Aalst",
					["right terminus"] = "Dendermonde"
				}
			}
		},
		["S 20"] = {
			["left terminus"] = "Leuven",
			["right terminus"] = "Ottignies"
		},
		["S 33"] = {
			["left terminus"] = "Antwerpen-Centraal",
			["right terminus"] = "Mol"
		},
		["S 43"] = {
			["left terminus"] = "Liège-Guillemins",
			["right terminus"] = "Maastricht",
			["types"] = {
				["reverse"] = {
						["title"] = "",
						["left terminus"] = "Maastricht",
						["right terminus"] = "Liège-Guillemins",
			}
			}
		},
	
		["S 81"] = {
			["left terminus"] = "Schaarbeek",
			["right terminus"] = "Ottignies"
		},
		["RE 29"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 20–29|RE 29]] ''euregioAIXpress''",
			["color"] = "FF0000",
			["left terminus"] = "Liège-Guillemins",
			["right terminus"] = "Aachen Hbf"
		}
	}
}

return p