Module:Sandbox

local p = {}

function p.test( f ) local args = f	if f == mw.getCurrentFrame then args = f:getParent.args else f = mw.getCurrentFrame end local fileUrl = f:callParserFunction{ '#widget:FileUrl', url = '' } local body = mw.html.create( 'span' ) body :css{ ['background-image'] = fileUrl.url( 'thumb/7/72/Grid_Diamond.png/16px-Grid_Diamond.png' ) .. ' repeat-x', }	return tostring( mw.html.create( 'div' ):node( body ) ) end