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

From 1F616EMO Survival Server Wiki
m (link oops)
mNo edit summary
Line 21: Line 21:
["color"] = "268bd2",
["color"] = "268bd2",
["left terminus"] = "Have Idea",
["left terminus"] = "Have Idea",
["right terminus"] = "Eulerstraße",
["right terminus"] = "Apfelbühl",
}
}
},
},

Revision as of 13:21, 27 August 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,
		["Wörther Straße"] = "[[Nordstetten Main Station|Wörther Straße]]",
	},
	["lines"] = lines_aux {
		["1"] = {
			["color"] = "268bd2",
			["left terminus"] = "Have Idea",
			["right terminus"] = "Apfelbühl",
		}
	},
}

return p