Module:Adjacent stations/Rail Baltica
Appearance
| This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
This is a data module for Module:Adjacent stations. It supports services operated by Rail Baltica.
| Line | Keys | Color | Hex color | Icon |
|---|---|---|---|---|
| Rail Baltica | Rail Baltica |
46A0FF |
|
Usage
{{#invoke:Adjacent stations/Rail Baltica|function_name}}
local STN = "%1 Station"
local section = "%1#station"
local p = {
["system title"] = "[[LTG Link]]",
["system icon"] = "",
["station format"] = {
"%1 railway station",
["Panevėžys"] = section,
["Pärnu"] = "Pärnu railway station#Rail Baltica",
["Riga"] = "[[Riga Central Station|Riga, Latvia]]",
["Riga Airport"] = "Riga International Airport#Rail",
["Jelgava"] = STN,
["Jelgava, Latvia"] = "Jelgava Station",
["Tallinn"] = "[[Tallinn Baltic Station|Tallinn, Estonia]]",
},
["lines"] = {
["_default"] = {
["title"] = "[[Rail Baltica]]",
["short name"] = "Rail Baltica",
["color"] = "46A0FF",
["text color"] = "FFFFFF",
["circular"] = true,
["left terminus"] = "Warsaw",
["right terminus"] = "Tallinn",
},
},
}
return p