Module:MapMarkersHelper: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
Line 3: Line 3:
function p._main(frame)
function p._main(frame)
local _location = frame.args.location
local _location = frame.args.location
mw.log(_location)
if (_location) then return _location
return _location
else return "no location provided"
end
end
end


return p
return p

Revision as of 03:36, 24 September 2023

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

local p = {}

function p._main(frame)
	local _location = frame.args.location
	if (_location) then	return _location 
	else return "no location provided"
		end
end

return p