local p=function p.main(frame)local filename=mw.title.new(frame.args[1])local width=frame.args["width"]local center=frame.args["center"]local maxwidth=frame.args["maxwidth"]local maxheight=frame.args["maxheight"]local divarguments=argumentresolution(width,center,maxwidth,maxheight)local output='
'..''..filename.prefixText..(caption and ''..caption or )..''return frame:preprocess(output)endfunction argumentresolution(width,center,maxwidth,maxheight) local arguments if(not maxwidth and not maxheight)then end endreturn p