Module:Adjacent stations/example and Module:Adjacent stations/example/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Mackensen
dab London
 
imported>Jc86035
m test
 
Line 1: Line 1:
local p = {
local p = {
["lang"] = "en-GB",
["lang"] = "en-GB",
["system icon"] = "[[File:BSicon BAHN.svg|x14px|link=Example]]",
["system title"] = "[[File:BSicon BAHN.svg|x14px|link=Example]] [[Example|Example Railways]]",
-- ["system title"] = "[[Example|Example Railways]]",
["icon"] = "[[File:BSicon lBHF red.svg|x14px|link=Example]]",
["station format"] = {
["station format"] = {
"%1 railway station",
"%1 railway station",
"%1 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"] = 2,
["Pyongyang"] = "%1 Station",
["Seoul"] = 2,
["Seoul"] = "%1 station",
["Busan"] = 2,
["Busan"] = "%1 station",
["London"] = "London station group",
["Frankfurt"] = {
["Frankfurt"] = {
"[[%1 Hauptbahnhof|%1 Hbf]]",
"[[%1 Hauptbahnhof|%1 Hbf]]",
Line 28: Line 26:
["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
["1"] = {
["1"] = {
["title"] = "[[Example|Example 1]]",
["line title"] = "[[Example|Example 1]]",
["icon"] = {"File:BSicon BAHN.svg", ["link"] = 'Example'},
["color"] = "6e9b29",
["color"] = "#6E9B29",
["icon"] = "[[File:BSicon lBHF cerulean.svg|x14px|link=Example]]",
["left terminus"] = {"Edinburgh Waverley", "Cardiff Central"},
["left terminus"] = {
{"Edinburgh Waverley", "Cardiff Central"},
["Edinburgh"] = "Edinburgh Waverley",
["Cardiff"] = "Cardiff Central"
},
["right terminus"] = "Busan"
["right terminus"] = "Busan"
},
},
["2"] = {
["2"] = {
["title"] = "[[Example|Example 2]]",
["line title"] = "[[Example|Example 2]]",
["color"] = "000077",
["color"] = "e5755b",
["icon"] = "[[File:BSicon lBHF yellow.svg|x14px|link=Example]]",
["types"] = {
["types"] = {
["local"] = {
["local"] = {
["title"] = "local"
["type title"] = "Local",
},
["color"] = "2d2",
["semi-express"] = {
["icon"] = "[[File:BSicon lBHF black.svg|x14px|link=Example]]",
["title"] = "semi-express",
["icon format"] = "image"
["color"] = "007700"
},
},
["express"] = {
["express"] = {
["title"] = "express",
["type title"] = "Express",
["color"] = "007700",
["color"] = "d22",
["background color"] = "transparent"
["icon"] = "[[File:BSicon lBHF golden.svg|x14px|link=Example]]",
["icon format"] = "xroute"
}
}
},
},
["left terminus"] = {"Roma Termini", "Lisbon"},
["left terminus"] = {
["right terminus"] = {"Stockholm Central", "Oslo Central"}
"Roma Termini",
["Lisbon"] = "Rossio"
},
["right terminus"] = {
{"Stockholm Central", "Oslo Central"},
["Stockholm"] = "Stockholm Central",
["Oslo"] = "Oslo Central"
}
}
}
}
}