Module:Adjacent stations/Helsinki commuter rail/sandbox

local color = { blue = "305fb8", gray = "545454", green = "58a618", purple = "8c4799", }

local p = { ["system title"] = "Helsinki commuter rail", ["system icon"] = "", ["line icon format"] = "croute", ["station format"] = { "%1 railway station", ["Helsinki"] = "Helsinki Central Station", ["Airport"] = "Helsinki Airport station", },	["lines"] = { ["Z"] = { ["title"] = "Z", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = {"Lahti", "Kouvola"} },		["Y"] = { ["title"] = "Y", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Siuntio", },	   ["X"] = { ["title"] = "X", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Siuntio", },	   ["T"] = { ["title"] = "T", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Riihimäki", },	   ["D"] = { ["title"] = "D", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = {"Riihimäki", "Hämeenlinna"} },	   ["R"] = { ["title"] = "R", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = {"Riihimäki", "Tampere"} },	   ["U"] = { ["title"] = "U", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kirkkonummi", },	   ["E"] = { ["title"] = "E", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kauklahti", },	   ["A"] = { ["title"] = "A", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Leppävaara", },	   ["L"] = { ["title"] = "L", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kirkkonummi", },	   ["K"] = { ["title"] = "K", ["color"] = color.purple, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kerava", },	   ["I"] = { ["title"] = "I", ["color"] = color.purple, ["text color"] = "ffffff", ["oneway-left"] = "true", ["note-mid"] = "counterclockwise via Tikkurila", ["right terminus"] = { "Helsinki", ["via"] = "Airport" }, },	   ["P"] = { ["title"] = "P", ["color"] = color.purple, ["text color"] = "ffffff", ["oneway-left"] = "true", ["note-mid"] = "clockwise via Myyrmäki", ["right terminus"] = { "Helsinki", ["via"] = "Airport" }, },	   ["G"] = { ["title"] = "G", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Riihimäki", ["right terminus"] = "Lahti", },		["M"] = { ["title"] = "M", ["color"] = color.blue, ["text color"] = "ffffff", ["left terminus"] = "Toijala", ["right terminus"] = "Nokia", },		["O"] = { ["title"] = "O", ["color"] = color.green, ["text color"] = "ffffff", ["left terminus"] = "Lahti", ["right terminus"] = "Kotkan satama", },		["H"] = { ["title"] = "H", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Riihimäki", },		["N"] = { ["title"] = "N", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kerava", },		["G-old"] = { ["title"] = "G", ["short name"] = "G", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Saunakallio", },		["P-old"] = { ["title"] = "P", ["short name"] = "P", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Hiekkaharju", },		["M-old"] = { ["title"] = "M", ["short name"] = "M", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Vantaankoski", },		["X-old"] = { ["title"] = "X", ["short name"] = "X", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kirkkonummi", },		["S-old"] = { ["title"] = "S", ["short name"] = "S", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Kirkkonummi", },		["Y-old"] = { ["title"] = "Y", ["color"] = color.gray, ["text color"] = "ffffff", ["left terminus"] = "Helsinki", ["right terminus"] = "Karis", },	}, }

return p