mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
for k, def in pairs(lines) do | for k, def in pairs(lines) do | ||
if not def.title then | if not def.title then | ||
def.title = ("[[Nordstetten LRT Line %s|Line %s]]"):format(k) | def.title = ("[[Nordstetten LRT Line %s|Line %s]]"):format(k, k) | ||
end | end | ||
end | end |
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, 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