Module:Adjacent stations/GBR
Appearance
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
This is a data module for Module:Adjacent stations. It supports services in United Kingdom operated by Great British Railways.
Usage
[edit]{{#invoke:Adjacent stations/GBR|function_name}}
Example
[edit]
Station with National Rail services only[edit]
|
Station with National Rail and other services[edit]
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- ^ "London and South East" (PDF). National Rail. September 2006. Archived from the original (PDF) on 6 March 2009.
- ^ "Out-of-station interchanges" (ODS). Transport for London. 1 May 2026. Archived from the original on 24 May 2026. Retrieved 24 May 2026.
local p = {
["lang"] = "en-GB",
["system title"] = "[[Great British Railways]]",
["system icon"] = "[[File:British Rail Double Arrow.svg|20px|link=Great British Railways]]",
["system color"] = "012169",
-- Line icon styling
["line icon format"] = "box",
-- Main header (National Rail)
["name format"] = table.concat({
"font-family: Rail Alphabet, Helvetica Neue, Helvetica, Arial, sans-serif;",
"background-color: #FFFFFF;",
"color: #012169;",
"font-size: 160%;",
"font-weight: bold;",
"padding: 10px 12px;",
"line-height: 110%;",
"letter-spacing: 0.3px;",
"text-align: left;",
"border-top: 1px solid #E6E6E6;",
"border-bottom: 3px solid #C8102E;",
}, " "),
-- Infobox header styling
["header background color"] = "012169",
["header text color"] = "FFFFFF",
-- Station formatting
["station format"] = {
"%1 station",
},
-- Infrastructure styling
["station background color"] = "FFFFFF",
["station text color"] = "012169",
["station border color"] = "D9D9D9",
-- Route styling
["route color"] = "012169",
["route text color"] = "FFFFFF",
}
return p
