Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Fix yes_no)
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 img:find('%S') then
if img and string.match('[[File:.-%.png]]') then
return img
return img
end
end