Difference between revisions of "Module:Adjacent stations/example/sandbox"
Jump to navigation
Jump to search
blackwiki>Szqecs |
blackwiki>Szqecs |
||
| Line 15: | Line 15: | ||
}, | }, | ||
["lines"] = { -- to do: create a third circular line that has the rest of the features | ["lines"] = { -- to do: create a third circular line that has the rest of the features | ||
| − | [" | + | ["first line"] = { |
["line title"] = "[[Example|Example 1]]", | ["line title"] = "[[Example|Example 1]]", | ||
["colour"] = "6e9b29", | ["colour"] = "6e9b29", | ||
| Line 23: | Line 23: | ||
["Cardiff"] = "Cardiff Central" | ["Cardiff"] = "Cardiff Central" | ||
}, | }, | ||
| − | ["right terminus"] = "Busan" | + | ["right terminus"] = "Busan" |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
| − | [" | + | ["second line"] = { |
["line title"] = "[[Example|Example 2]]", | ["line title"] = "[[Example|Example 2]]", | ||
["colour"] = "e5755b", | ["colour"] = "e5755b", | ||
| Line 51: | Line 44: | ||
["Stockholm"] = "Stockholm Central", | ["Stockholm"] = "Stockholm Central", | ||
["Oslo"] = "Oslo Central" | ["Oslo"] = "Oslo Central" | ||
| + | }, | ||
| + | ["types"] = { | ||
| + | ["my type"] = { | ||
| + | ["left terminus"] = "Penzance", | ||
| + | ["right terminus"] = "Aberdeen", | ||
| + | ["circular"] = true | ||
| + | } | ||
} | } | ||
} | } | ||
Revision as of 11:04, 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"] = {
["my type"] = {
["left terminus"] = "Penzance",
["right terminus"] = "Aberdeen",
["circular"] = true
}
}
}
}
}
return p