Jump to content

Module:Adjacent stations/Sweden

From Wikipedia, the free encyclopedia

--local s = "%1"

-- This module can be used for regional trains in Sweden, 
-- without registering the actual line or terminus in any module, instead do it in each station article
-- For long-distance and inter-city trains not  branded to regional administrations, use: Module:Adjacent stations/Sweden2
-- The difference between Sweden and Sweden2 modules is the "system title" parameter and which operators included

local p = {
	["system title"] = "[[Rail transport in Sweden|Regional trains]]",
	["station format"] = {
-- Consider using "%1 railway station", as is used in other Swedish modules, although the Station and Central Station links must be manually listed
		"%1 Station",
		["Arlanda North"] = "Arlanda North Station",
		["Arlanda South"] = "Arlanda South Station",
-- Stations with articles titled "name Central Station" can be accessed with "name Central" when using {{Adjacent stations}}
-- Stations with articles titled "name Station" can be accessed with only "name" when using {{Adjacent stations}}

-- These are existing stations with articles titled "railway station"
-- They can be access with only the station name when using {{Adjacent stations}}
		["Bålsta"] = "Bålsta railway station",
		["Degerfors"] = "Degerfors railway station",
		["Herrljunga"] = "Herrljunga railway station",
		["Hässleholm"] = "Hässleholm railway station",
		["Katrineholm"] = "Katrineholm railway station",
		["Kristinehamn"] = "Kristinehamn railway station",
		["Läggesta"] = "Läggesta railway station",
		["Mora"] = "Mora railway station",
		["Munkedal"] = "Munkedal railway station",
		["Nässjö"] = "Nässjö railway station",
		["Skövde"] = "Skövde railway station",
		["Södertälje Syd"] = "Södertälje Syd railway station",
		["Storlien"] = "Storlien railway station",
		["Trollhättan"] = "Trollhättan railway station",
		["Vännäs"] = "Vännäs railway station",
		["Åre"] = "Åre railway station",
-- These are small places where {{Adjacent stations}} is inserted in the article about the place
		["Öxnered"] = "Öxnered",
-- These are other station names
		["Gamlestaden"] = "Gamlestaden station"
	},
		
	["lines"] = {
		["Arlanda"] = {
			["title"] = "[[Arlanda Express]]",
			["color"] = "fef380",
			["left terminus"] = "Stockholm Central",
			["right terminus"] = "Arlanda North",
		},
		-- For "Flixtrain" use Module:Adjacent stations/Sweden2
		["Krösatågen"] = {
			["title"] = "[[Krösatågen]]",
			["color"] = "C40000",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		-- For "MTRX" use Module:Adjacent stations/Sweden2
		["Mälartåg"] = {
			["title"] = "[[Mälartåg]]",
			["color"] = "0949a1",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		-- For "Norrtåg" use Module:Adjacent stations/Norrtåg
		-- For "Pågatågen" use Module:Adjacent stations/Pågatågen
		-- For "Stockholm commuter rail" use Module:Adjacent stations/Stockholm commuter rail
		-- For "Snälltåget" use Module:Adjacent stations/Sweden2
		-- For "Tågab" use Module:Adjacent stations/Sweden2
		["Tåg i Bergslagen"] = {
			["title"] = "[[Tåg i Bergslagen]]",
			["color"] = "C0311A",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["Värmlandstrafik"] = {
			["title"] = "[[Värmlandstrafik]]",
			["color"] = "F9B000",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		-- For "Västtrafik" use Module:Adjacent stations/Västtrafik
		["Västtrafik"] = {
			["title"] = "[[Västtrafik]]",
			["color"] = "00acea",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		-- For "X-Tåget" use Module:Adjacent stations/X-Tåget
		-- For "Öresundståg" use Module:Adjacent stations/Öresundståg
		["Östgötatrafiken"] = {
			["title"] = "[[Östgötatrafiken]]",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["Other operator"] = {
			["title"] = "",
			["note-mid"] = "use the note-mid parameter",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
	},
}

return p