Module:Adjacent stations/TransAdelaide

local function tableConcat(t1, t2) for k, v in pairs(t2) do   	t1[k] = v    end return t1 end

local lines = { ["Adelaide-Wolseley"] = { ["title"] = "Adelaide–Wolseley line", ["color"] = "003973", ["left terminus"] = "Adelaide", ["right terminus"] = "Wolseley", },	["Bridgewater"] = { ["color"] = "003973", ["left terminus"] = "Adelaide", ["right terminus"] = "Bridgewater", },	["Northfield"] = { ["color"] = "003973", ["left terminus"] = "Adelaide", ["right terminus"] = "Northfield", },	["Dry Creek-Port Adelaide"] = { ["title"] = "Dry Creek–Port Adelaide line", ["color"] = "003973", ["left terminus"] = "Dry Creek", ["right terminus"] = "Port Dock", }, }

-- To recude duplication, use settings from Module:Adjacent stations/Adelaide Metro. local p = require('Module:Adjacent stations/Adelaide Metro') p["system title"] = "TransAdelaide" p["lines"] = tableConcat(p["lines"], lines)

return p