Module:InfoboxImage: Difference between revisions

m
1 revision imported: trying to make bs-map work
m (1 revision imported)
m (1 revision imported: trying to make bs-map work)
 
(One intermediate revision by one other user not shown)
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
cat = "[[Category:Pages using infoboxes with thumbnail images]]";
elseif mw.title.getCurrentTitle().namespace == 0 then
cat = "[[Category:Pages using deprecated image syntax]]";
end
return image .. cat;