Module:InfoboxImage: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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 |
||