Difference between revisions of "Module:Adjacent stations/example/sandbox"
Jump to navigation
Jump to search
blackwiki>Szqecs |
blackwiki>Jc86035 m (rm "services") |
||
| Line 8: | Line 8: | ||
["Beijingnan"] = "[[Beijing South railway station|Beijing South]]", | ["Beijingnan"] = "[[Beijing South railway station|Beijing South]]", | ||
["Pyongyang"] = "%1 Station", | ["Pyongyang"] = "%1 Station", | ||
| − | |||
["Seoul"] = "%1 station", | ["Seoul"] = "%1 station", | ||
["Busan"] = "%1 station", | ["Busan"] = "%1 station", | ||
| Line 28: | Line 27: | ||
["line title"] = "[[Example|Example 2]]", | ["line title"] = "[[Example|Example 2]]", | ||
["colour"] = "e5755b", | ["colour"] = "e5755b", | ||
| − | [" | + | ["branches"] = { |
{"Local", "2d2"}, | {"Local", "2d2"}, | ||
["Express"] = {"Express", "d22"} | ["Express"] = {"Express", "d22"} | ||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
["left terminus"] = { | ["left terminus"] = { | ||
Revision as of 14:47, 23 July 2018
Documentation for this module may be created at Module:Adjacent stations/example/sandbox/doc
local p = {
["system title"] = "[[File:BSicon BAHN.svg|x14px|link=Example]] [[Example|Example Railways]]",
["station format"] = {
"%1 railway station",
["Stratford International"] = "%1 station",
["Gare de l'Est"] = "[[%1]]",
["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station",
["Beijingnan"] = "[[Beijing South railway station|Beijing South]]",
["Pyongyang"] = "%1 Station",
["Seoul"] = "%1 station",
["Busan"] = "%1 station",
["Stockholm Central"] = "%1 Station",
["Oslo Central"] = "%1 Station",
},
["lines"] = { -- to do: create a third circular line that has the rest of the features
["1"] = {
["line title"] = "[[Example|Example 1]]",
["colour"] = "6e9b29",
["left terminus"] = {
{"Edinburgh Waverley", "Cardiff Central"},
["Edinburgh"] = "Edinburgh Waverley",
["Cardiff"] = "Cardiff Central"
},
["right terminus"] = "Busan"
},
["2"] = {
["line title"] = "[[Example|Example 2]]",
["colour"] = "e5755b",
["branches"] = {
{"Local", "2d2"},
["Express"] = {"Express", "d22"}
},
["left terminus"] = {
"Roma Termini",
["Lisbon"] = "Rossio"
},
["right terminus"] = {
{"Stockholm Central", "Oslo Central"},
["Stockholm"] = "Stockholm Central",
["Oslo"] = "Oslo Central"
}
}
}
}
return p