Module:InfoboxImage: Difference between revisions
Remove deleted category
m (1 revision imported) |
wp>Pppery (Remove deleted category) |
||
Line 166: | Line 166: | ||
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then | if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then | ||
cat = "[[Category:Pages using infoboxes with thumbnail images]]"; | cat = "[[Category:Pages using infoboxes with thumbnail images]]"; | ||
end | end | ||
return image .. cat; | return image .. cat; |