local p = {} function p.data(frame) 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[args[2] or ''] end return p