Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
-- 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 img:find('%S') then |
||
Line 32: | Line 24: | ||
return img and string.match(img, "File:.-%.png") or nil |
return img and string.match(img, "File:.-%.png") or nil |
||
end |
end |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||