8,756
edits
(can now parse notxml) |
No edit summary |
||
Line 70: | Line 70: | ||
--[Return html]-- | --[Return html]-- | ||
local html = | local html = mw.html.create('div') | ||
html | |||
:addClass('qud-box-wrapper ' .. bordercolor) | |||
:node(mw.html.create('div') | |||
:addClass('qud-box') | |||
:node(mw.html.create('span') | |||
:addClass('qud-box-header') | |||
:wikitext('<b>' .. title .. '</b>')) | |||
:node(mw.html.create('div') | |||
:addClass('qud-box-content') | |||
:css({['font-weight']='bold', ['line-height']='1.5em', ['padding']='0em' .. padding .. 'em'}) | |||
:wikitext(qudtext)) | |||
:node(mw.html.create('span') | |||
:addClass('qud-box-footer-left') | |||
:wikitext(parsedbottomtext)) | |||
) | |||
return | return tostring(html) .. '\n' | ||
end | end | ||
return p | return p |