Module:Asbox

From Zoophilia Wiki
Revision as of 22:45, 23 December 2014 by meta>Codehydro (begin work -- please do not edit til done)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Documentation for this module may be created at Module:Asbox/doc

function p.main(frame)
	--local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Asbox'})
	local output = '<table class="metadata plainlinks stub" style="background: transparent;"  role="presentation"><tr>'
	if frame.icon or frame.image then
		output = output .. '<td>' .. frame.icon or ('[|File:' .. frame.image .. ']]') .. '</td>' 
	end
	return output
end

return p