Module:InfoboxImage: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (make tracking category logic clearer, no net effect) |
(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]]"; |
||
elseif mw.title.getCurrentTitle().namespace == 0 then |
|||
cat = "[[Category:Pages using deprecated image syntax]]"; |
|||
end |
end |
||
return image .. cat; |
return image .. cat; |