Module:Adjacent stations/TransAdelaide
Appearance
![]() | This module depends on the following other modules: |
This is a data module for Module:Adjacent stations. It supports services operated by TransAdelaide.
Lines
Line | 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 |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | Adelaide-Wolseley |
003973 |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | Bridgewater |
003973 |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | Northfield |
003973 |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | 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"] = {
["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"] = {
["color"] = "003973",
["left terminus"] = "Dry Creek",
["right terminus"] = "Port Dock",
},
["Victor Harbor"] = {
["color"] = "003973",
["left terminus"] = "Victor Harbor",
["right terminus"] = "Littlehampton",
},
}
-- To recude duplication, use settings from [[Module:Adjacent stations/Adelaide]].
local p = require('Module:Adjacent stations/Adelaide')
p["system title"] = "[[TransAdelaide]]"
p["lines"] = tableConcat(p["lines"], lines)
return p