Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 52: Line 52:
-- Standardized image function
-- Standardized image function
function parse.image_func(img)
function parse.image_func(img)
if img and string.match('[[File:.-%.png]]') then
if img and string.match(img, '[[File:.-%.png]]') then
return img
return img
end
end