Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No edit summary
Line 22: Line 22:
end
end
function parse.image_smw(img)
function parse.image_smw(img)
return string.match(img, "File:.-%.png")
return img and string.match(img, "File:.-%.png") or nil
end
end