Documentation for this module may be created at Module:Sandbox/FR30799386/Scribbles/doc

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='<div style=\"'..divarguments..'\">'..'[['..filename.prefixText..(caption and '{{!}}'..caption or '')..']]'
return frame:preprocess(output)
end
function argumentresolution(width,center,maxwidth,maxheight)
	local arguments
	if(not maxwidth and not maxheight)then
	end
	end
return p