mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
local function lines_aux(lines) | |||
for k, def in pairs(lines) do | |||
if not def.title then | |||
def.title = ("[[Nordstetten LRT Line %s|Line %s]]"):format(k) | |||
end | |||
end | |||
end | |||
local p = { | local p = { | ||
["system title"] = "[[Nordstetten Light Rail]]", | ["system title"] = "[[Nordstetten Light Rail]]", | ||
Line 5: | Line 13: | ||
"[[%1 LRT Station|%1]]", | "[[%1 LRT Station|%1]]", | ||
}, | }, | ||
["lines"] = { | ["lines"] = lines_aux { | ||
["1"] = { | ["1"] = { | ||
["color"] = "0000FF", | ["color"] = "0000FF", | ||
["left terminus"] = "Wörther Straße", | ["left terminus"] = "Wörther Straße", |
Revision as of 16:53, 8 April 2024
local function lines_aux(lines)
for k, def in pairs(lines) do
if not def.title then
def.title = ("[[Nordstetten LRT Line %s|Line %s]]"):format(k)
end
end
end
local p = {
["system title"] = "[[Nordstetten Light Rail]]",
["system icon"] = "",
["station format"] = {
"[[%1 LRT Station|%1]]",
},
["lines"] = lines_aux {
["1"] = {
["color"] = "0000FF",
["left terminus"] = "Wörther Straße",
["right terminus"] = "Eulerstraße",
}
},
}
return p