Module:Test

local p = {}

function p.main(frame) local image = mw.title.new(frame.args[1]) if not image.file.exists then return "Not a file" else return "height: " .. image.file.height .. "px, width: " .. image.file.width .. "px" end end

return p