Module:Adjacent stations/Västtrafik

From Wikipedia, the free encyclopedia

local x = "%1 Station"

local p = {
	["system title"] = "[[Västtrafik|Västtågen]]",
--	["system icon"] = "",
--	["system color"] =  "A349A4",
--	["name format"] = "color: #FFFFFF; background-color: #27417A;",
	["station format"] = {
-- Stations with articles titled "name railway station" can be accessed with only "name" using {{Adjacent stations}}
-- This is default and these stations do not need to be listed here
		"%1 railway station",
-- All other cases must be listed here
-- x means that " Station" is added to "name"

-- Stations with articles titled "name Central Station" can be accessed with "name Central" using {{Adjacent stations}}
		["Gothenburg Central"] = x,
		["Borås Central"] = x,
		["Örebro Central"] = x,

-- Stations with articles titled "name Station" can be accessed with only "name" using {{Adjacent stations}}
		["Ed"] = x,

-- 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"] = {
-- "left terminus" shall be Gothenburg if a terminus, "right terminus" is the other end
-- except for trains stopping in Stenungsund or Strömstad, which is opposite as default
-- this policy might be changed

-- The default case can be used for lines not listed
		["_default"] = {
			["title"] = "[[%1]]",
--			["color"] = "",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
		["Alingsås Line"] = {
			["title"] = "[[Western Main Line|Gothenburg-Alingsås Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Alingsås",
		},
		["Älvängen Line"] = {
			["title"] = "[[Norway/Vänern Line|Gothenburg-Älvängen Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Älvängen",
		},
		["Kungsbacka Line"] = {
			["title"] = "[[West Coast Line (Sweden)|Gothenburg-Kungsbacka Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Kungsbacka",
		},
		["Stenungsund Line"] = {
			["title"] = "[[Bohus Line|Gothenburg-Stenungsund Line]]",
			["left terminus"] = "Stenungsund",
			["right terminus"] = "Gothenburg Central",
		},
		["Strömstad Line"] = {
			["title"] = "[[Bohus Line|Gothenburg-Strömstad Line]]",
			["left terminus"] = "Strömstad",
			["right terminus"] = "Gothenburg Central",
		},
		["Ed Line"] = {
			["title"] = "[[Norway/Vänern Line|Trollhättan-Ed Line]]",
			["left terminus"] = "Trollhättan",
			["right terminus"] = "Ed",
		},
		["Karlstad Line"] = {
			["title"] = "[[Norway/Vänern Line|Gothenburg-Karlstad Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Karlstad",
		},
		["Vänersborg Line"] = {
			["title"] = "[[Norway/Vänern Line|Gothenburg-Vänersborg Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Vänersborg",
		},
		["Skövde Line"] = {
			["title"] = "[[Western Main Line|Gothenburg-Skövde Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Skövde",
		},
		["Nässjö Line"] = {
			["title"] = "[[Western Main Line|Gothenburg-Nässjö Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Nässjö",
		},
		["Borås Line"] = {
			["title"] = "[[Coast-to-Coast Line|Gothenburg-Borås Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Borås Central",
		},
		["Varberg Line"] = {
			["title"] = "[[West Coast Line (Sweden)|Gothenburg-Varberg Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Varberg",
		},
		["Älvsborg Line"] = {
			["title"] = "[[Älvsborg Line|Uddevalla-Borås–Varberg Line]]",
			["left terminus"] = "Uddevalla",
			["right terminus"] = "Varberg",
		},
		["Kinnekulle Line"] = {
			["title"] = "[[Kinnekulle Line|Gothenburg–Lidköping–Mariestad–Örebro Line]]",
			["left terminus"] = "Gothenburg Central",
			["right terminus"] = "Örebro Central",
		},
		["Other line"] = {
			["title"] = "",
			["note-mid"] = "use the note-mid parameter",
			["left terminus"] = "use the to-left parameter",
			["right terminus"] = "use the to-right parameter",
		},
	},
}

return p