More languages
More actions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
local box = mw.html.create() | local box = mw.html.create() | ||
:tag('table') | :tag('table') | ||
: | :css('border-left', '10px solid #b50014') | ||
:addClass('mbox-table') | :addClass('mbox-table') | ||
local row = box:tag('tr') | local row = box:tag('tr') |
Revision as of 17:49, 14 November 2021
local p = {}
function p.main(frame)
local box = mw.html.create()
:tag('table')
:css('border-left', '10px solid #b50014')
:addClass('mbox-table')
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 tostring(box)
end
return p