Module:Param Parse: Difference between revisions

m
no edit summary
(Try to add image size support)
mNo edit summary
Line 78:
function parse.image_width(img, default)
if img then
return string.match(img, '%[%[File:.+%.%w%w%w|(%d*)x?%d*px%]%]') or default
end
return default