Module:Adjacent stations/HSL/sandbox

MyWikiBiz, Author Your Legacy — Thursday November 28, 2024
< Module:Adjacent stations‎ | HSL
Revision as of 18:28, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/HSL/sandbox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Documentation for this module may be created at Module:Adjacent stations/HSL/sandbox/doc

local x = "%1 station"

local p = {
	["system title"] = "[[Helsinki commuter rail]]",
	["system icon"] = "",
	["station format"] = {
		"%1 railway station",
		["Helsinki"] = "Helsinki Central Station",
		["Pasila"] = x,
	},
	["lines"] = {
		["Z"] = {
			["title"] = "<span style=\"border-radius: 12px; background-color:#E0071C;  padding-left:0.6ex; padding-right:0.6ex; font-size:110%; \">'''[[Helsinki commuter rail#Lahti Line|<font color=\"#ffffff\">Z</font>]]'''",
			["short name"] = "Z",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = {"Lahti", "Kouvola"}
		},
		["Y"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|Y]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Siuntio",
		},
	    ["X"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|X]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Siuntio",
		},
	    ["T"] = {
			["title"] = "[[Helsinki commuter rail#Main/Riihimäki Line|T]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Riihimäki",
		},
	    ["D"] = {
			["title"] = "[[Helsinki commuter rail#Main/Riihimäki Line|D]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = {"Riihimäki", "Hämeenlinna"}
		},
	    ["R"] = {
			["title"] = "[[Helsinki commuter rail#Main/Riihimäki Line|R]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = {"Riihimäki", "Tampere"}
		},
	    ["U"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|U]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Kirkkonummi",
		},
	    ["E"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|E]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Kauklahti",
		},
	    ["A"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|A]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Leppävaara",
		},
	    ["L"] = {
			["title"] = "[[Helsinki commuter rail#Rantarata (Coastal/Turku Line)|L]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Kirkkonummi",
		},
	    ["K"] = {
			["title"] = "[[Helsinki commuter rail#Main/Riihimäki Line|K]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Kerava",
		},
	    ["I"] = {
			["title"] = "[[Helsinki commuter rail#Ring Rail Line and Vantaankoski Line|I]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Helsinki",
		},
	    ["P"] = {
			["title"] = "[[Helsinki commuter rail#Ring Rail Line and Vantaankoski Line|P]]",
			["icon format"] = "croute",
			["color"] = "8C4799",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Helsinki",
		},
	    ["G"] = {
			["title"] = "[[Helsinki commuter rail#Riihimäki−Lahti Line|G]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Riihimäki",
			["right terminus"] = "Lahti",
		},
		["M"] = {
			["title"] = "[[Helsinki commuter rail#Tampere−Pori Line|M]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Toijala",
			["right terminus"] = "Nokia",
		},
		["H"] = {
			["title"] = "[[Helsinki commuter rail#Former services|H]]",
			["icon format"] = "croute",
			["color"] = "58a618",
			["text color"] = "ffffff",
			["left terminus"] = "Helsinki",
			["right terminus"] = "Riihimäki",
		},
	},
}

return p