Difference between revisions of "Module:Adjacent stations/example/sandbox"
Jump to navigation
Jump to search
blackwiki>Szqecs |
blackwiki>Szqecs |
||
| Line 46: | Line 46: | ||
}, | }, | ||
["types"] = { | ["types"] = { | ||
| − | [" | + | ["type 1"] = { |
["left terminus"] = "Penzance", | ["left terminus"] = "Penzance", | ||
| − | ["right terminus"] = "Aberdeen", | + | ["right terminus"] = "Aberdeen" |
| + | }, | ||
| + | ["type 1"] = { | ||
| + | ["left terminus"] = "Clockwise", | ||
| + | ["right terminus"] = "Anticlockwise", | ||
["circular"] = true | ["circular"] = true | ||
} | } | ||
Revision as of 11:06, 24 May 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",
-- to do: create [[Vladivostok railway 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
["first line"] = {
["line title"] = "[[Example|Example 1]]",
["colour"] = "6e9b29",
["left terminus"] = {
{"Edinburgh Waverley", "Cardiff Central"},
["Edinburgh"] = "Edinburgh Waverley",
["Cardiff"] = "Cardiff Central"
},
["right terminus"] = "Busan"
},
["second line"] = {
["line title"] = "[[Example|Example 2]]",
["colour"] = "e5755b",
["services"] = {
{"Local", "2d2"},
["Express"] = {"Express", "d22"}
},
["branches"] = {
"Main line",
["Lisbon"] = "Branch line to Lisbon (weekends only)"
},
["left terminus"] = {
"Roma Termini",
["Lisbon"] = "Rossio"
},
["right terminus"] = {
{"Stockholm Central", "Oslo Central"},
["Stockholm"] = "Stockholm Central",
["Oslo"] = "Oslo Central"
},
["types"] = {
["type 1"] = {
["left terminus"] = "Penzance",
["right terminus"] = "Aberdeen"
},
["type 1"] = {
["left terminus"] = "Clockwise",
["right terminus"] = "Anticlockwise",
["circular"] = true
}
}
}
}
}
return p