Module:Adjacent stations/REM: Difference between revisions
Appearance
Content deleted Content added
Narrow line height |
Add line and terminus icons (A, A1, A2, A3, A4) |
||
Line 22: | Line 22: | ||
}, |
}, |
||
["lines"] = { |
["lines"] = { |
||
[" |
["_default"] = { |
||
["title"] = "[[Réseau express métropolitain]]", |
["title"] = "[[Réseau express métropolitain]]", |
||
["color"] = "6bc700", |
["color"] = "6bc700", |
||
}, |
|||
["A"] = { |
|||
["icon"] = "[[File:Montreal public transit icons - REM A.svg|16px|link=Réseau express métropolitain]]", |
|||
["left terminus"] = {"Deux-Montagnes", "Anse-à-l'Orme", "Airport"}, |
["left terminus"] = {"Deux-Montagnes", "Anse-à-l'Orme", "Airport"}, |
||
["right terminus"] = "Brossard", |
["right terminus"] = "Brossard", |
||
Line 34: | Line 37: | ||
}, |
}, |
||
}, |
}, |
||
["A1"] = { |
|||
["icon"] = "[[File:Montreal public transit icons - REM A1.svg|16px|link=Réseau express métropolitain]]", |
|||
["right terminus"] = "Brossard", |
|||
}, |
|||
["A2"] = { |
|||
["icon"] = "[[File:Montreal public transit icons - REM A2.svg|16px|link=Réseau express métropolitain]]", |
|||
["left terminus"] = "Airport", |
|||
}, |
|||
["A3"] = { |
|||
["icon"] = "[[File:Montreal public transit icons - REM A3.svg|16px|link=Réseau express métropolitain]]", |
|||
["left terminus"] = "Anse-à-l'Orme", |
|||
}, |
|||
["A4"] = { |
|||
["icon"] = "[[File:Montreal public transit icons - REM A4.svg|16px|link=Réseau express métropolitain]]", |
|||
["left terminus"] = "Deux-Montagnes", |
|||
}, |
|||
}, |
|||
["aliases"] = { |
|||
["rem"] = "A", |
|||
}, |
}, |
||
} |
} |
Revision as of 20:15, 10 January 2024
This is a data module for Module:Adjacent stations. It supports services in the Greater Montreal area operated by Réseau express métropolitain.
Lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
|
6bc700 |
| ||
Réseau express métropolitain | A or REM |
6bc700 |
| |
Réseau express métropolitain | A1 |
6bc700 |
| |
Réseau express métropolitain | A2 |
6bc700 |
| |
Réseau express métropolitain | A3 |
6bc700 |
| |
Réseau express métropolitain | A4 |
6bc700 |
|
local rem = "%1 station (REM)"
local p = {
["lang"] = "en-US",
["system title"] = "REM",
["system icon"] = "[[File:Logo Réseau express métropolitain.svg|20px|link=Réseau express métropolitain]]",
["system color"] = "6bc700",
["name format"] = "font-family:sans-serif; font-size:180%; color:white; line-height:150%; background-color:black; border-bottom:6px solid #6bc700",
["header background color"] = "6bc700",
["header text color"] = "000000",
["station format"] = {
"%1 station",
["Airport"] = "YUL–Montréal–Trudeau Airport station",
["Bassin Peel"] = "[[Griffintown–Bernard-Landry station|Griffintown–Bernard-Landry]]",
["Canora"] = rem,
["Central Station"] = "Montreal Central Station",
["Édouard-Montpetit"] = "Édouard-Montpetit station#REM station",
["Griffintown"] = "Griffintown–Bernard-Landry station",
["Kirkland"] = rem,
["McGill"] = "McGill station#REM station",
["Montpellier"] = rem,
},
["lines"] = {
["_default"] = {
["title"] = "[[Réseau express métropolitain]]",
["color"] = "6bc700",
},
["A"] = {
["icon"] = "[[File:Montreal public transit icons - REM A.svg|16px|link=Réseau express métropolitain]]",
["left terminus"] = {"Deux-Montagnes", "Anse-à-l'Orme", "Airport"},
["right terminus"] = "Brossard",
["types"] = {
["Stage1"] = {
["title"] = "",
["left terminus"] = "Central Station",
},
},
},
["A1"] = {
["icon"] = "[[File:Montreal public transit icons - REM A1.svg|16px|link=Réseau express métropolitain]]",
["right terminus"] = "Brossard",
},
["A2"] = {
["icon"] = "[[File:Montreal public transit icons - REM A2.svg|16px|link=Réseau express métropolitain]]",
["left terminus"] = "Airport",
},
["A3"] = {
["icon"] = "[[File:Montreal public transit icons - REM A3.svg|16px|link=Réseau express métropolitain]]",
["left terminus"] = "Anse-à-l'Orme",
},
["A4"] = {
["icon"] = "[[File:Montreal public transit icons - REM A4.svg|16px|link=Réseau express métropolitain]]",
["left terminus"] = "Deux-Montagnes",
},
},
["aliases"] = {
["rem"] = "A",
},
}
return p