Jump to content

Module:Adjacent stations/Sweden

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BIL (talk | contribs) at 08:43, 22 December 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local sweden = "%1"

-- This module can be used for regional trains in Sweden, 
-- without registering the actual line or terminus in any module, instead in each station article

local p = {
	["system title"] = "[[Rail transport in Sweden|Regional trains in Sweden]]",
	["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" using {{Adjacent stations}}
-- Stations with articles titled "name Station" can be accessed with only "name" using {{Adjacent stations}}

-- These are existing stations with articles titled "railway station"
-- They can be access with only the station name using {{Adjacent stations}}
		["Bålsta"] = "Bålsta railway station",
		["Degerfors"] = "Degerfors railway station",
		["Kristinehamn"] = "Kristinehamn railway station",
		["Läggesta"] = "Läggesta railway station",
		["Munkedal"] = "Munkedal railway station",
		["Storlien"] = "Storlien railway station",
		["Trollhättan"] = "Trollhättan 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"] = "[[File:Arlanda Express logo.svg|64px|link=Arlanda Express]]",
			["color"] = "F9B01A",
			["left terminus"] = "Stockholm Central",
			["right terminus"] = "Arlanda North",
		},
		["Flixtrain"] = {
			["title"] = "Flixtrain",
			["color"] = "a2e53f",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["Krösatågen"] = {
			["title"] = "Krösatågen",
			["color"] = "C40000",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["MTRX"] = {
			["title"] = "MTRX",
			["color"] = "ff0000",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["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

		["Snälltåget"] = {
			["title"] = "Snälltåget",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["Tågab"] = {
			["title"] = "Tågab",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["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