Content deleted Content added
Adam Cuerden (talk | contribs) After Module:Multiple image. May be horrifically broken |
Adam Cuerden (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
local p={}
function p.ratio(
local file =
file = file and file.file
local w = tonumber(file.width) or 1
local h = tonumber(file.height) or 1
local r = w/h or 1
return r
end
return p
|