ಮಾಡ್ಯೂಲ್:Location map/sandbox: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
test optional |error_invalid_map_name= |
No edit summary |
||
೧೮ ನೇ ಸಾಲು:
local moduletitle = mw.title.new('Module:Location map/data/' .. map)
if not moduletitle then
return
elseif moduletitle.exists then
local mapData = mw.loadData('Module:Location map/data/' .. map)
೫೦ ನೇ ಸಾಲು:
end
else
return error_invalid_map_name or error('Unable to find the specified location map definition. Neither "Module:Location map/data/' .. map .. '" nor "Template:Location map ' .. map .. '" exists', 2)
end
end
|