Content deleted Content added
No edit summary |
No edit summary |
||
Line 4:
local args = frame.args[1] or frame:getParent().args[1]
local file = args[1] and mw.title.new(args[1]).file or {width = '?', height = '?'}
return file.width
elseif args[2] == 'height' then
return file.height
elseif args[2] == 'size' then
return file.size
end
return '???'
end
|