Module:Adjacent stations/Patras Suburban Railway
Appearance
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This is a data module for Module:Adjacent stations: it supports Patras Suburban Railway routes.
Lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line P1 | 1 or P1 |
FFCD00 |
| |
Line P2 | 2 or P2 |
753BBD |
|
- Route boxes
References
[edit]- "Patras Suburban Railway" (PDF). Hellenic Train (in English and Greek). Athens. 26 July 2023. Archived from the original (PDF) on 1 October 2023. Retrieved 1 October 2023.
local s = "%1 station"
local p = {
["system title"] = "[[Proastiakos#Patras Suburban Railway|Suburban Rail]]",
["system icon"] = "[[File:Proastiakos icon (no text).svg|24px|link=Proastiakos#Patras Suburban Railway]]",
["rail box format"] = "title",
["station format"] = {
"%1 railway station",
},
["lines"] = {
["_default"] = {
["title"] = "[[Proastiakos#Patras Suburban Railway|Line P%1]]",
["color"] = "FFCD00"
-- The default colour is yellow, which means the default text colour has to be black: setting the text colour to white here will make the future route boxes (Line P3 and higher) unreadable.
},
["1"] = {
["left terminus"] = "Kato Achaia",
["right terminus"] = "Agios Andreas"
},
["2"] = {
["color"] = "753BBD",
["text color"] = "FFF",
["left terminus"] = "Agios Andreas",
["right terminus"] = "Rio"
},
},
["aliases"] = {
["p1"] = "1",
["p2"] = "2",
}
}
return p