Module:Param Parse: Difference between revisions

Fixing image functions
No edit summary
(Fixing image functions)
Line 52:
-- Standardized image function
function parse.image_func(img)
if img and string.match(img, '%[%[File:.-*%.png]%]') then
return img
end
Line 58:
end
function parse.image_smw(img)
return img and string.match(img, "File:.-%.png*") or nil
end
parse.image = {