Jump to content

Module:Article stub box

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Codehydro (talk | contribs) at 22:45, 23 December 2014 (begin work -- please do not edit til done). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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