Module:Adjacent stations/Nordstetten Light Rail: Difference between revisions

From 1F616EMO Survival Server Wiki
mNo edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
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, k)
end
end
return lines
end
local BHF = "[[%1 Station|%1]]"
local BHF = "[[%1 Station|%1]]"
local p = {
local p = {
Line 13: Line 4:
["system icon"] = "",
["system icon"] = "",
["station format"] = {
["station format"] = {
"[[%1 LRT Station|%1]]",
"[[%1 LRT station|%1]]",
["Have Idea"] = BHF,
["Have Idea"] = BHF,
["Wörther Straße"] = "[[Nordstetten Main Station|Wörther Straße]]",
},
},
["lines"] = lines_aux {
["lines"] = {
["_default"] = {
["title"] = "[[Nordstetten LRT Line %1|Line %1]]"
},
["1"] = {
["1"] = {
["color"] = "268bd2",
["color"] = "268bd2",
["left terminus"] = "Have Idea",
["left terminus"] = "Have Idea",
["right terminus"] = "Eulerstraße",
["right terminus"] = "Apfelbühl",
},
["2"] = {
["color"] = "dc322f",
["left terminus"] = "Wörther Straße",
["right terminus"] = "Apfelbühl",
}
}
},
},

Latest revision as of 16:18, 12 September 2024

local BHF = "[[%1 Station|%1]]"
local p = {
	["system title"] = "[[Nordstetten Light Rail]]",
	["system icon"] = "",
	["station format"] = {
		"[[%1 LRT station|%1]]",
		["Have Idea"] = BHF,
		["Wörther Straße"] = "[[Nordstetten Main Station|Wörther Straße]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[Nordstetten LRT Line %1|Line %1]]"
		},
		["1"] = {
			["color"] = "268bd2",
			["left terminus"] = "Have Idea",
			["right terminus"] = "Apfelbühl",
		},
		["2"] = {
			["color"] = "dc322f",
			["left terminus"] = "Wörther Straße",
			["right terminus"] = "Apfelbühl",
		}
	},
}

return p