Module:MapMarkersHelper: Difference between revisions
From HorizonXI Wiki
Starfox9507 (talk | contribs) No edit summary |
Starfox9507 (talk | contribs) 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 | ||
if (_location) then return _location | |||
return | 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