Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From 1F616EMO Survival Server Wiki
mNo edit summary
mNo edit summary
Line 8: Line 8:
end
end


local BHF = "[[%1 Station|%1]]"
local p = {
local p = {
["system title"] = "[[Nordstetten Light Rail]]",
["system title"] = "[[Nordstetten Light Rail]]",
Line 13: Line 14:
["station format"] = {
["station format"] = {
"[[%1 LRT Station|%1]]",
"[[%1 LRT Station|%1]]",
["Have Idea"] = BHF
},
},
["lines"] = lines_aux {
["lines"] = lines_aux {
["1"] = {
["1"] = {
["color"] = "268bd2",
["color"] = "268bd2",
["left terminus"] = "Offenburger Straße",
["left terminus"] = "Have Idea",
["right terminus"] = "Eulerstraße",
["right terminus"] = "Eulerstraße",
}
}

Revision as of 14:46, 20 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
	return lines
end

local BHF = "[[%1 Station|%1]]"
local p = {
	["system title"] = "[[Nordstetten Light Rail]]",
	["system icon"] = "",
	["station format"] = {
		"[[%1 LRT Station|%1]]",
		["Have Idea"] = BHF
	},
	["lines"] = lines_aux {
		["1"] = {
			["color"] = "268bd2",
			["left terminus"] = "Have Idea",
			["right terminus"] = "Eulerstraße",
		}
	},
}

return p