Diferencia entre revisiones de «Módulo:Ficha»
Sin resumen de edición |
|||
| Línea 42: | Línea 42: | ||
.tag('th') | .tag('th') | ||
.attr('colspan', 2) | .attr('colspan', 2) | ||
.addClass(rowArgs. | .addClass(rowArgs.class) | ||
.css('text-align', 'center') | .css('text-align', 'center') | ||
.cssText(args. | .cssText(args.headerstyle) | ||
.wikitext(rowArgs. | .wikitext(rowArgs.header) | ||
elseif rowArgs.data then | elseif rowArgs.data then | ||
local row = root.tag('tr') | local row = root.tag('tr') | ||
| Línea 73: | Línea 73: | ||
local function renderTitle() | local function renderTitle() | ||
if not args | if not args['titulo'] then return end | ||
root | root | ||
.tag('caption') | --.tag('caption') | ||
.addClass(args.clasetitulo) | .addClass(args.clasetitulo) | ||
.cssText(args.estilotitulo) | .cssText(args.estilotitulo) | ||