This module depends on the following other modules: |
This is a data module for Module:Adjacent stations. It supports services operated by TransAdelaide.
Lines
editLine | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Belair line | Belair |
509E2F |
| |
Flinders line | Flinders |
FE5000 |
| |
Gawler line | Gawler |
C23B33 |
| |
Grange line | Grange |
007DC3 |
| |
Outer Harbor line | Outer Harbor |
007DC3 |
| |
Seaford line | Seaford |
FE5000 |
| |
Adelaide–Wolseley line | Adelaide-Wolseley |
003973 |
| |
Bridgewater line | Bridgewater |
003973 |
| |
Northfield line | Northfield |
003973 |
| |
Dry Creek–Port Adelaide line | Dry Creek-Port Adelaide |
003973 |
|
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 railway line|Adelaide–Wolseley line]]",
["color"] = "003973",
["left terminus"] = "Adelaide",
["right terminus"] = "Wolseley",
},
["Bridgewater"] = {
["color"] = "003973",
["title"] = "[[Bridgewater railway line|Bridgewater line]]",
["left terminus"] = "Adelaide",
["right terminus"] = "Bridgewater",
},
["Northfield"] = {
["color"] = "003973",
["title"] = "[[Northfield railway line|Northfield line]]",
["left terminus"] = "Adelaide",
["right terminus"] = "Northfield",
},
["Dry Creek-Port Adelaide"] = {
["title"] = "[[Dry Creek–Port Adelaide railway line|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