Documentation for this module may be created at Module:FSPS street/doc

local p = {}

p.streetNameList = function ( frame )
	if frame.args.streets ~= nil and frame.args.streets ~= '' then
		local streets = mw.text.split( frame.args.streets, ';', true )
		return 'of [[' .. table.concat( streets, ']], [[' ) .. ']]'
	end
	if frame.args[1] ~= nil and frame.args[1] ~= '' then
		return 'of ' .. frame.args[1]
	end
end

return p