Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Message box

From ProleWiki, the proletarian encyclopedia
Revision as of 17:44, 14 November 2021 by Forte (talk | contribs)
local p = {}
function p.main(frame)
	local box = mw.html.create()
	:tag('table')
	:attr('border-left', '10px solid #b50014')
	local row = box:tag('tr')
	local imageLeftCell = row:tag('td'):addClass('mbox-image')
	imageLeftCell:tag('div'):css('width', '52px')
	imageLeftCell:wikitext('[[File:Lenin citation-needed.svg|52px|link=|alt=]]')
	local textCell = row:tag('td'):addClass('mbox-text')
	:wikitext(frame.args.text)
	return box
end