Module:Excerpt: Difference between revisions

Content deleted Content added
Parse image= etc. within infobox. Remove HTML comments earlier in case they lurk within infoboxes.
Thumb sized images
Line 35:
local image_size = mw.ustring.match(text, "|%s*image_size%s*=%s*([^%}|]*)")
if image_size then token = token .. "|" .. image_size end
token = mw.ustring.gsub(token, "\n","") .. "|framethumb]]\n"
end
end