FancyInfobox
La documentación para este módulo puede ser creada en Módulo:FancyInfobox/doc
Error de secuencia de órdenes: Error de Lua: Error interno: El intérprete ha finalizado con el estado 127.
local p = {}
function p.fancy_infobox(frame)
local fancy_table = mw.html.create('table')
:css({
['background-color'] = '#94ff94',
padding = '10px',
})
:tag('tr')
:tag('th')
:css({
color = 'white',
['font-size'] = '300%',
['background-color'] = '#f56a3d',
padding = '10px',
})
:wikitext('This is the table header')
:done()
:done()
:tag('tr')
:tag('td')
:css({
border = '5px dashed blue',
['font-weight'] = 900,
['text-align'] = 'right',
['background-color'] = 'white',
padding = '10px',
})
:wikitext('This is a table body cell')
:done()
:done()
return tostring(fancy_table)
end
return p