Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Fixing image functions)
(Update image matching function)
Line 58: Line 58:
end
end
function parse.image_smw(img)
function parse.image_smw(img)
return img and string.match(img, "File:.*") or nil
return img and string.match(img, "File:.*%.%w%w%w") or nil
end
end
parse.image = {
parse.image = {