Module:Adjacent stations/Nederlandse Spoorwegen

local sprinter = "F7CC48" local stoptrein = "F7CC48" local intercity = "0000FF"

local p = { ["system title"] = "Nederlandse Spoorwegen", ["name format"] = "font-size:150%; font-family:sans-serif; font-weight:bolder; " .. "line-height:150%; color:#fff; background-color:#f7cc48; " .. "padding: 0.2em 0.1em;", ["header background color"] = "f7cc48", ["header text color"] = "22428b", ["station format"] = { "%1 railway station", ["Heerlen and Venlo"] = "Heerlen and Venlo", ["Den Haag Hollands Spoor"] = "Den Haag HS railway station", ["Amsterdam C/Schiphol"] = "Amsterdam C/Schiphol", ["Schiphol/Amsterdam C"] = "Schiphol/Amsterdam C", ["Amsterdam Centraal/Schiphol"] = "Amsterdam C/Schiphol", ["Schiphol/Amsterdam Centraal"] = "Schiphol/Amsterdam C", ["Den Haag C/Rotterdam C"] = "Den Haag C/Rotterdam C", ["Rotterdam C/Den Haag C"] = "Rotterdam C/Den Haag C", ["Den Haag Centraal/Rotterdam Centraal"] = "Den Haag C/Rotterdam C", ["Rotterdam Centraal/Den Haag Centraal"] = "Rotterdam C/Den Haag C", ["Deventer/Enschede"] = "Deventer/Enschede", ["Enschede/Deventer"] = "Enschede/Deventer", ["Groningen/Leeuwarden"] = "Groningen/Leeuwarden", ["Leeuwarden/Groningen"] = "Leeuwarden/Groningen", ["Maastricht/Heerlen"] = "Maastricht/Heerlen", ["Heerlen/Maastricht"] = "Heerlen/Maastricht", ["Berlin Ostbahnhof/Szczecin Glowny"] = "Berlin Ostbahnhof/Szczecin Glowny", ["Szczecin Glowny/Berlin Ostbahnhof"] = "Szczecin Glowny/Berlin Ostbahnhof", ["Den Haag Centraal/Haarlem"] = "Den Haag Centraal/Haarlem", ["München/Zürich"] = "München Hbf/Zürich HB", ["Moscow"] = "Moscow Bel.", ["Warsaw/Copenhagen"] = "Warsaw/Copenhagen", ["Warsaw"] = "Warsaw", ["Praha hl.n."] = "Prague", ["Soest"] = "Soest", ["Haren"] = "Haren" },	["lines"] = { ["_default"] = { ["title"] = "NS %1" },		["Intercity 500"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Groningen" },		["Intercity 600"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Leeuwarden" },		["Intercity 700"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Groningen" },		["Intercity 800"] = { ["color"] = intercity, ["left terminus"] = "Den Helder", ["right terminus"] = "Maastricht", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Maastricht", ["right terminus"] = "Den Helder" }			}		},		["Intercity Direct 900"] = { ["color"] = intercity, ["left terminus"] = "Breda", ["right terminus"] = "Amsterdam Centraal", },		["Intercity Direct 1000"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Amsterdam Centraal", },		["Intercity 1100"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Eindhoven Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Eindhoven Centraal", ["right terminus"] = "Den Haag Centraal" }			}		},		["Intercity 1500"] = { ["color"] = intercity, ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Deventer", ["types"] = { ["eveningsandweekends"] = { ["title"] = "", ["right terminus"] = "Amersfoort" }			}		},		["Intercity 1600"] = { ["color"] = intercity, ["left terminus"] = "Schiphol Airport", ["right terminus"] = "Enschede" },		["Intercity 1700"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Enschede" },		["Intercity 1800"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Leeuwarden" },		["Intercity 2000"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Utrecht Centraal" },		["Intercity 2100"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Amsterdam Centraal" },		["Intercity 2200"] = { ["color"] = intercity, ["left terminus"] = "Vlissingen", ["right terminus"] = "Amsterdam Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Vlissingen" }			}		},		["Intercity 2300"] = { ["color"]= intercity, ["left terminus"] = "Vlissingen", ["right terminus"] = "Amsterdam Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Vlissingen" }			}		},		["Intercity 2400"] = { ["color"] = intercity, ["left terminus"] = "Dordrecht", ["right terminus"] = "Lelystad Centrum", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Lelystad Centrum", ["right terminus"] = "Dordrecht" }			}		},		["Intercity 2600"] = { ["color"] = intercity, ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Almere Centrum", },		["Intercity 2800"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Utrecht Centraal" },		["Intercity 2900"] = { ["color"] = intercity, ["left terminus"] = "Enkhuizen", ["right terminus"] = "Maastricht", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Maastricht", ["right terminus"] = "Enkhuizen" }			}		},		["Intercity 3000"] = { ["color"] = intercity, ["left terminus"] = "Den Helder", ["right terminus"] = "Nijmegen" },		["Intercity 3100"] = { ["color"] = intercity, ["left terminus"] = "Schiphol Airport", ["right terminus"] = "Nijmegen" },		["Intercity 3200"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Arnhem Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Arnhem Centraal", ["right terminus"] = "Rotterdam Centraal" }			}		},		["Intercity 3500"] = { ["color"] = intercity, ["left terminus"] = "Schiphol Airport", ["right terminus"] = "Venlo", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Venlo", ["right terminus"] = "Schiphol Airport" }			}		},		["Intercity 3600"] = { ["color"] = intercity, ["left terminus"] = "Roosendaal", ["right terminus"] = "Zwolle", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Zwolle", ["right terminus"] = "Roosendaal" }			}		},		["Intercity 3700"] = { ["color"] = intercity, ["left terminus"] = "Dordrecht", ["right terminus"] = "Venlo", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Venlo", ["right terminus"] = "Dordrecht" }			}		},		["Intercity 3900"] = { ["color"] = intercity, ["left terminus"] = "Enkhuizen", ["right terminus"] = "Heerlen", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Heerlen", ["right terminus"] = "Enkhuizen" }			}		},		["Intercity 4500"] = { ["color"] = intercity, ["left terminus"] = "Enkhuizen", ["right terminus"] = "Amsterdam Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Enkhuizen" }			}		},		["Intercity 11600"] = { ["color"] = intercity, ["left terminus"] = "Schiphol Airport", ["right terminus"] = "Amersfoort Schothorst" },		["Intercity 11700"] = { ["color"] = intercity, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Amersfoort Schothorst" },		["Intercity 13500"] = { ["color"] = intercity, ["left terminus"] = "Eindhoven Centraal", ["right terminus"] = "Venlo" }, -- Nachtnet ["Nachtnet 1400"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Utrecht Centraal", ["note-mid"] = "Night train", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Rotterdam Centraal" }				}					},		["Nachtnet 12600"] = { ["color"] = intercity, ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Groningen" },		["Nachtnet 21400"] = { ["color"] = intercity, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Eindhoven Centraal", ["note-mid"] = "Night train", ["types"] = { ["HT"] = { ["title"] = "", ["left terminus"] = "'s-Hertogenbosch", ["right terminus"] = "Tilburg" }			}		},		["Nachtnet 21500"] = { ["color"] = intercity, ["left terminus"] = "Amsterdam Centraal", ["right terminus"] = "Utrecht Centraal", ["note-mid"] = "Night train" },		["Nachtnet 22200"] = { ["color"] = intercity, ["left terminus"] = "Haarlem", ["right terminus"] = "Amsterdam Centraal", ["note-mid"] = "Night train" },		["Nachtnet 22400"] = { ["color"] = intercity, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Amersfoort Centraal", ["note-mid"] = "Night train" },		["Nachtnet 23400"] = { ["color"] = intercity, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Nijmegen", ["note-mid"] = "Night train" },		["Nachtnet 24400"] = { ["color"] = intercity, ["left terminus"] = "Leiden Centraal", ["right terminus"] = "Amsterdam Bijlmer ArenA", ["note-mid"] = "Night train" }, -- Sprinter ["Sprinter 3300"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Hoorn Kersenboogerd", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Hoorn Kersenboogerd", ["right terminus"] = "Den Haag Centraal" }			}		},		["Sprinter 4000"] = { ["color"] = sprinter, ["left terminus"] = "Uitgeest", ["right terminus"] = "Rotterdam Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Uitgeest" }			}		},		["Sprinter 4300"] = { ["color"] = sprinter, ["left terminus"] = "Hoofddorp", ["right terminus"] = "Lelystad Centrum" },		["Sprinter 4400"] = { ["color"] = sprinter, ["left terminus"] = "Oss", ["right terminus"] = "Deurne", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Deurne", ["right terminus"] = "Oss" }			}		},		["Sprinter 4600"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Almere Oostvaarders" },		["Sprinter 4700"] = { ["color"] = sprinter, ["left terminus"] = "Uitgeest", ["right terminus"] = "Amsterdam Centraal" },		["Sprinter 4800"] = { ["color"] = sprinter, ["left terminus"] = "Hoorn", ["right terminus"] = "Amsterdam Centraal" },		["Sprinter 4900"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Almere Centrum" },		["Sprinter 5000"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Dordrecht", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Dordrecht", ["right terminus"] = "Den Haag Centraal" }			}		},		["Sprinter 5100"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Dordrecht", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Dordrecht", ["right terminus"] = "Den Haag Centraal" }			}		},		["Sprinter 5200"] = { ["color"] = sprinter, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Dordrecht" },		["Sprinter 5400"] = { ["color"] = sprinter, ["left terminus"] = "Zandvoort", ["right terminus"] = "Amsterdam Centraal" },		["Sprinter 5500"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Baarn" },		["Sprinter 5600"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Zwolle" },		["Sprinter 5700"] = { ["color"] = sprinter, ["left terminus"] = "Hoofddorp", ["right terminus"] = "Utrecht Centraal" },		["Sprinter 5800"] = { ["color"] = sprinter, ["left terminus"] = "Hoofddorp", ["right terminus"] = "Amersfoort Vathorst" },		["Sprinter 5900"] = { ["color"] = sprinter, ["left terminus"] = "Dordrecht", ["right terminus"] = "Roosendaal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Roosendaal", ["right terminus"] = "Dordrecht" }			}		},		["Sprinter 6000"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "'s-Hertogenbosch", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "'s-Hertogenbosch'", ["right terminus"] = "Utrecht Centraal" }			}		},		["Sprinter 6100"] = { ["color"] = sprinter, ["left terminus"] = "Vlissingen", ["right terminus"] = "Roosendaal" },		["Sprinter 6200"] = { ["color"] = sprinter, ["left terminus"] = "Assen", ["right terminus"] = "Groningen" },		["Sprinter 6300"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Haarlem" },		["Sprinter 6400"] = { ["color"] = sprinter, ["left terminus"] = "Tilburg Universiteit", ["right terminus"] = "Weert" },		["Sprinter 6600"] = { ["color"] = sprinter, ["left terminus"] = "Dordrecht", ["right terminus"] = "Arnhem Centraal" },		["Sprinter 6700"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Tiel" },		["Sprinter 6800"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Gouda Goverwelle" },		["Sprinter 6900"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Utrecht Centraal" },		["Sprinter 7000"] = { ["color"] = sprinter, ["left terminus"] = "Apeldoorn", ["right terminus"] = "Enschede", },		["Sprinter 7300"] = { ["color"] = sprinter, ["left terminus"] = "Breukelen", ["right terminus"] = "Rhenen" },		["Sprinter 7400"] = { ["color"] = sprinter, ["left terminus"] = "Uitgeest", ["right terminus"] = "Driebergen-Zeist" },		["Sprinter 7500"] = { ["color"] = sprinter, ["left terminus"] = "Ede-Wageningen", ["right terminus"] = "Arnhem Centraal" },		["Sprinter 7600"] = { ["color"] = sprinter, ["left terminus"] = "Wijchen", ["right terminus"] = "Zutphen", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Zutphen", ["right terminus"] = "Nijmegen" }			}		},		["Sprinter 7700"] = { ["color"] = sprinter, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Gouda Goverwelle" },		["Sprinter 8100"] = { ["color"] = sprinter, ["left terminus"] = "Zwolle", ["right terminus"] = "Groningen" },		["Sprinter 8600"] = { ["color"] = sprinter, ["left terminus"] = "Alphen aan den Rijn", ["right terminus"] = "Gouda" },		["Sprinter 8700"] = { ["color"] = sprinter, ["left terminus"] = "Alphen aan den Rijn", ["right terminus"] = "Gouda" },		["Sprinter 8800"] = { ["color"] = sprinter, ["left terminus"] = "Leiden Centraal", ["right terminus"] = "Utrecht Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Leiden Centraal" }			}		},			["Sprinter 8900"] = { ["color"] = sprinter, ["left terminus"] = "Leiden Centraal", ["right terminus"] = "Utrecht Centraal", ["types"] = { ["reverse"] = { ["title"] = "", ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Leiden Centraal" }			}		},		["Sprinter 9000"] = { ["color"] = sprinter, ["left terminus"] = "Lelystad Centrum", ["right terminus"] = "Leeuwarden" },		["Sprinter 9500"] = { ["color"] = sprinter, ["left terminus"] = "Alphen aan den Rijn", ["right terminus"] = "Gouda" },		["Sprinter 9700"] = { ["color"] = sprinter, ["left terminus"] = "Rotterdam Centraal", ["right terminus"] = "Gouda Goverwelle" },		["Sprinter 13300"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Leiden Centraal" },		["Sprinter 14900"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Almere Centrum" },		["Sprinter 16400"] = { ["color"] = sprinter, ["left terminus"] = "Eindhoven Centraal", ["right terminus"] = "Weert" },		["Sprinter 15400"] = { ["color"] = sprinter, ["left terminus"] = "Zandvoort", ["right terminus"] = "Haarlem" },		["Sprinter 16000"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "'s-Hertogenbosch" },		["Sprinter 17900"] = { ["color"] = sprinter, ["left terminus"] = "Zwolle", ["right terminus"] = "Nijverdal West" },		["Sprinter 19500"] = { ["color"] = sprinter, ["left terminus"] = "Leiden Centraal", ["right terminus"] = "Gouda" },		["Sprinter 19800"] = { ["color"] = sprinter, ["left terminus"] = "Den Haag Centraal", ["right terminus"] = "Gouda Goverwelle" },		["Sprinter 28300"] = { ["color"] = sprinter, ["left terminus"] = "Utrecht Centraal", ["right terminus"] = "Utrecht Maliebaan" }			},	["aliases"] = { ["stoptrein 3300"] = "Sprinter 3300", ["stoptrein 4000"] = "Sprinter 4000", ["stoptrein 4100"] = "Sprinter 4100", ["stoptrein 4200"] = "Sprinter 4200", ["stoptrein 4300"] = "Sprinter 4300", ["stoptrein 4400"] = "Sprinter 4400", ["stoptrein 4600"] = "Sprinter 4600", ["stoptrein 4700"] = "Sprinter 4700", ["stoptrein 4800"] = "Sprinter 4800", ["stoptrein 4900"] = "Sprinter 4900", ["stoptrein 5000"] = "Sprinter 5000", ["stoptrein 5100"] = "Sprinter 5100", ["stoptrein 5200"] = "Sprinter 5200", ["stoptrein 5400"] = "Sprinter 5400", ["stoptrein 5500"] = "Sprinter 5500", ["stoptrein 5600"] = "Sprinter 5600", ["stoptrein 5700"] = "Sprinter 5700", ["stoptrein 5800"] = "Sprinter 5800", ["stoptrein 5900"] = "Sprinter 5900", ["stoptrein 6000"] = "Sprinter 6000", ["stoptrein 6100"] = "Sprinter 6100", ["stoptrein 6300"] = "Sprinter 6300", ["stoptrein 6400"] = "Sprinter 6400", ["stoptrein 6600"] = "Sprinter 6600", ["stoptrein 6700"] = "Sprinter 6700", ["stoptrein 6800"] = "Sprinter 6800", ["stoptrein 6900"] = "Sprinter 6900", ["stoptrein 7000"] = "Sprinter 7000", ["stoptrein 7100"] = "Sprinter 7100", ["stoptrein 7300"] = "Sprinter 7300", ["stoptrein 7400"] = "Sprinter 7400", ["stoptrein 7500"] = "Sprinter 7500", ["stoptrein 7600"] = "Sprinter 7600", ["stoptrein 7700"] = "Sprinter 7700", ["stoptrein 7800"] = "Sprinter 7800", ["stoptrein 7900"] = "Sprinter 7900", ["stoptrein 8100"] = "Sprinter 8100", ["stoptrein 8500"] = "Sprinter 8500", ["stoptrein 8600"] = "Sprinter 8600", ["stoptrein 8900"] = "Sprinter 8900", ["stoptrein 9000"] = "Sprinter 9000", ["stoptrein 9500"] = "Sprinter 9500", ["stoptrein 9600"] = "Sprinter 9600", ["stoptrein 9700"] = "Sprinter 9700", ["stoptrein 9800"] = "Sprinter 9800", ["stoptrein 14900"] = "Sprinter 14900", ["stoptrein 15400"] = "Sprinter 15400", ["stoptrein 16000"] = "Sprinter 16000", ["stoptrein 17900"] = "Sprinter 17900", ["stoptrein 19500"] = "Sprinter 19500", ["stoptrein 19800"] = "Sprinter 19800", ["intercity 1400"] = "Nachtnet 1400", ["intercity 12600"] = "Nachtnet 12600", ["intercity 21400"] = "Nachtnet 21400", ["intercity 22200"] = "Nachtnet 22200", } }

return p