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
return lines
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