Module:Adjacent stations/Trams in Tallinn
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by Trams in Tallinn.
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
1 | 1 |
FF601E |
| |
2 | 2 |
FF601E |
| |
3 | 3 |
FF601E |
| |
4 | 4 |
FF601E |
| |
5 | 5 |
FF601E |
|
Usage
[edit]{{#invoke:Adjacent stations/Trams in Tallinn|function_name}}
local rws = "%1 railway station"
local raw = "%1"
local section = "%1#Tram services"
local p = {
["system title"] = "[[Trams in Tallinn]]",
["system icon"] = "",
["name format"] = "font-size: 150%; padding: 0.4em; border-bottom: 4px solid #FF0000; background-color: black; color: white; font-weight: normal; letter-spacing: 1px;",
["header background color"] = "FF0000",
["header text color"] = "FFFFFF",
["station format"] = {
"Trams in Tallinn#%1",
["Kopli"] = section,
["Balti jaam"] = "Tallinn Baltic Station",
["Tondi"] = rws,
["Ülemiste jaam"] = "Ülemiste railway station",
["Ülemiste linnak"] = "Ülemiste City#Future perceptions",
["Lennujaam"] = "Tallinn Airport#Tram",
["Kadriorg"] = section,
["Vanasadam"] = "Old City Harbour#A-terminal",
["Laeva"] = "Old City Harbour#D-terminal"
},
["lines"] = {
["_default"] = {
["title"] = "[[Trams in Tallinn|%1]]",
["color"] = "FF601E",
},
["1"] = {
["left terminus"] = "Kadriorg",
["right terminus"] = "Kopli",
},
["2"] = {
["left terminus"] = "Suur-Paala",
["right terminus"] = "Kopli",
["types"] = {
["future"] = {
["title"] = "opening 2025",
["left terminus"] = "Lennujaam",
}
}
},
["3"] = {
["left terminus"] = "Kadriorg",
["right terminus"] = "Tondi",
},
["4"] = {
["left terminus"] = "Suur-Paala",
["right terminus"] = "Tondi",
},
["5"] = {
["left terminus"] = "Vana-Lõuna",
["right terminus"] = "Kopli",
},
}
}
return p