Difference between revisions of "Module:Adjacent stations/example"
Jump to navigation
Jump to search
blackwiki>Szqecs |
m (42 revisions imported) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
local p = { | local p = { | ||
["lang"] = "en-GB", | ["lang"] = "en-GB", | ||
− | ["system | + | ["system icon"] = "[[File:BSicon BAHN.svg|x14px|link=Example]]", |
+ | -- ["system title"] = "[[Example|Example Railways]]", | ||
["station format"] = { | ["station format"] = { | ||
"%1 railway station", | "%1 railway station", | ||
− | ["Stratford International"] = | + | "%1 station", |
+ | ["Stratford International"] = 2, | ||
["Gare de l'Est"] = "[[%1]]", | ["Gare de l'Est"] = "[[%1]]", | ||
["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station", | ["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station", | ||
["Beijingnan"] = "[[Beijing South railway station|Beijing South]]", | ["Beijingnan"] = "[[Beijing South railway station|Beijing South]]", | ||
− | ["Pyongyang"] = | + | ["Pyongyang"] = 2, |
− | ["Seoul"] = | + | ["Seoul"] = 2, |
− | ["Busan"] = | + | ["Busan"] = 2, |
["Frankfurt"] = { | ["Frankfurt"] = { | ||
"[[%1 Hauptbahnhof|%1 Hbf]]", | "[[%1 Hauptbahnhof|%1 Hbf]]", | ||
Line 26: | Line 28: | ||
["1"] = { | ["1"] = { | ||
["title"] = "[[Example|Example 1]]", | ["title"] = "[[Example|Example 1]]", | ||
− | [" | + | ["icon"] = {"File:BSicon BAHN.svg", ["link"] = 'Example'}, |
− | + | ["color"] = "#6E9B29", | |
− | + | ["left terminus"] = {"Edinburgh Waverley", "Cardiff Central"}, | |
− | |||
− | |||
− | |||
["right terminus"] = "Busan" | ["right terminus"] = "Busan" | ||
}, | }, | ||
["2"] = { | ["2"] = { | ||
["title"] = "[[Example|Example 2]]", | ["title"] = "[[Example|Example 2]]", | ||
− | ["color"] = " | + | ["color"] = "000077", |
["types"] = { | ["types"] = { | ||
["local"] = { | ["local"] = { | ||
− | ["title"] = "local" | + | ["title"] = "local" |
}, | }, | ||
− | ["express"] = { | + | ["semi-express"] = { |
− | ["title"] = " | + | ["title"] = "semi-express", |
− | ["color"] = " | + | ["color"] = "007700" |
}, | }, | ||
["express"] = { | ["express"] = { | ||
["title"] = "express", | ["title"] = "express", | ||
− | ["color"] = " | + | ["color"] = "007700", |
+ | ["background color"] = "transparent" | ||
} | } | ||
}, | }, | ||
− | ["left terminus"] = { | + | ["left terminus"] = {"Roma Termini", "Lisbon"}, |
− | + | ["right terminus"] = {"Stockholm Central", "Oslo Central"} | |
− | |||
− | |||
− | ["right terminus"] = { | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
} | } |
Latest revision as of 13:01, 26 September 2020
Documentation for this module may be created at Module:Adjacent stations/example/doc
local p = {
["lang"] = "en-GB",
["system icon"] = "[[File:BSicon BAHN.svg|x14px|link=Example]]",
-- ["system title"] = "[[Example|Example Railways]]",
["station format"] = {
"%1 railway station",
"%1 station",
["Stratford International"] = 2,
["Gare de l'Est"] = "[[%1]]",
["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station",
["Beijingnan"] = "[[Beijing South railway station|Beijing South]]",
["Pyongyang"] = 2,
["Seoul"] = 2,
["Busan"] = 2,
["Frankfurt"] = {
"[[%1 Hauptbahnhof|%1 Hbf]]",
["1"] = "[[Frankfurt Airport long-distance station|Frankfurt Flughafen]]",
["2"] = {
"[[%1 Hauptbahnhof|%1 Hbf]]",
["South"] = "[[%1 %3 station|%1 %3]]"
}
},
["Zürich"] = "[[%1 Hauptbahnhof|%1 Hbf]]",
["Stockholm Central"] = "%1 Station",
["Oslo Central"] = "%1 Station",
},
["lines"] = { -- to do: create a third circular line that has the rest of the features
["1"] = {
["title"] = "[[Example|Example 1]]",
["icon"] = {"File:BSicon BAHN.svg", ["link"] = 'Example'},
["color"] = "#6E9B29",
["left terminus"] = {"Edinburgh Waverley", "Cardiff Central"},
["right terminus"] = "Busan"
},
["2"] = {
["title"] = "[[Example|Example 2]]",
["color"] = "000077",
["types"] = {
["local"] = {
["title"] = "local"
},
["semi-express"] = {
["title"] = "semi-express",
["color"] = "007700"
},
["express"] = {
["title"] = "express",
["color"] = "007700",
["background color"] = "transparent"
}
},
["left terminus"] = {"Roma Termini", "Lisbon"},
["right terminus"] = {"Stockholm Central", "Oslo Central"}
}
}
}
return p