This is a data module for Module:Adjacent stations. It supports former services operated by Cape Cod and Hyannis Railroad. For current services, use Module:Adjacent stations/Cape Cod Central Railroad. For the current services on Cape Cod, use Module:Adjacent stations/MBTA.
Lines
editLine | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Attleboro Branch | Attleboro Branch or attleboro |
AA0000 |
| |
Falmouth Branch | Falmouth Branch or falmouth |
AA0000 |
| |
Braintree-Hyannis | Main Line or main |
AA0000 |
|
local amtrak = "%1 station (Amtrak)"
local cccr = "%1 station (CCCR)"
local ma = "%1 station (Massachusetts)"
local mbta = "%1 station (MBTA)"
local p = {
["lang"] = "en-US",
["system title"] = "[[Cape Cod and Hyannis Railroad]]",
["system icon"] = "",
["system color"] = "AA0000",
["station format"] = {
"%1 station",
["Attleboro"] = ma,
["Braintree"] = mbta,
["Brockton"] = mbta,
["Bridgewater"] = mbta,
["Holbrook"] = "Holbrook/Randolph station",
["Hyannis"] = "Hyannis Transportation Center",
["Middleborough"] = "Middleborough/Lakeville station",
["Sandwich"] = ma,
["Taunton"] = amtrak,
["Wareham"] = "Wareham Village station",
},
["lines"] = {
["_default"] = {
["color"] = "AA0000",
},
["Attleboro Branch"] = {
["title"] = "Attleboro Branch",
["left terminus"] = "Attleboro",
["right terminus"] = {"Hyannis", "Falmouth"},
},
["Falmouth Branch"] = {
["title"] = "Falmouth Branch",
["left terminus"] = {"Braintree", "Attleboro"},
["right terminus"] = "Falmouth",
},
["Main Line"] = {
["title"] = "Braintree-Hyannis",
["left terminus"] = {"Braintree", "Attleboro"},
["right terminus"] = {"Hyannis", "Falmouth"},
},
},
["aliases"] = {
["attleboro"] = "Attleboro Branch",
["falmouth"] = "Falmouth Branch",
["main"] = "Main Line",
},
}
return p