3,762
edits
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 170: | Line 170: | ||
if lat == '' and lng == '' then | if lat == '' and lng == '' then | ||
local coords = mw.text.split( info['coords'] or frame:getParent().args.coords or '', ',' ) | local coords = mw.text.split( info['coords'] or frame:getParent().args.coords or '', ',' ) | ||
lat = mw.text.trim(coords[1]) | lat = mw.text.trim(coords[1] or '') | ||
lng = mw.text.trim(coords[2]) | lng = mw.text.trim(coords[2] or '') | ||
end | end | ||
local location = frame:getParent().args.location or info['location'] or '' | local location = frame:getParent().args.location or info['location'] or '' |