Jump to content

Module:Adjacent stations/Sweden2

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BIL (talk | contribs) at 14:00, 29 December 2023 (Created page with '-- local sweden = "%1" -- This module can be used for long-distance and inter-city trains in Sweden, -- without registering the actual line or terminus in any module, instead do it in each station article -- For Regional trains, mainly trains branded to regional administrations, use: Module:Adjacent stations/Sweden -- The difference between Sweden and Sweden2 modules is the "system title" parameter and which operators included local p = { ["system titl...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

-- local sweden = "%1"

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

local p = {
	["system title"] = "[[Rail transport in Sweden|Long distance 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",
		["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"] = {
		-- For Arlanda express use Module:Adjacent stations/Sweden
		["Flixtrain"] = {
			["title"] = "Flixtrain",
			["color"] = "a2e53f",
			["left terminus"] = "Stockholm Central",
			["right terminus"] = "Gothenburg Central",
			-- use the to-left and to-right parameter for other terminus
		},
		-- For "Krösatågen" use Module:Adjacent stations/Sweden
		-- For "Mälartåg" use Module:Adjacent stations/Sweden
		["MTRX"] = {
			["title"] = "MTRX",
			["color"] = "ff0000",
			["left terminus"] = "Stockholm Central",
			["right terminus"] = "Gothenburg Central",
			-- use the to-left and to-right parameter for other terminus
		},
		-- 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",
		},
		-- For "Tåg i Bergslagen" use Module:Adjacent stations/Sweden
		-- For "Värmlandstrafik" use Module:Adjacent stations/Sweden
		-- For "Västtrafik" use Module:Adjacent stations/Västtrafik
		-- For "X-Tåget" use Module:Adjacent stations/X-Tåget
		-- For "Öresundståg" use Module:Adjacent stations/Öresundståg
		-- For "Östgötatrafiken" use Module:Adjacent stations/Sweden
		["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