Module:InfoboxImage: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Undid revision 755004686 by WOSlinker (talk). Per comment on talk page, this is flooding the category with Drafts that will never be articles.)
(add px to sizedefault if just a number)
Line 221: Line 221:
if (tonumber(size) or 0) > 0 then
if (tonumber(size) or 0) > 0 then
size = size .. "px";
size = size .. "px";
end
-- add px to sizedefault if just a number
if (tonumber(sizedefault) or 0) > 0 then
sizedefault = sizedefault .. "px";
end
end