Modulo:Grafico epidemia/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m Prova per table
m Test titolo
Riga 561:
if (args.float == 'left') or (args.float == 'right') then
output[1] = 'PROVA'
output[11] = ''
else
output[1] = '<table style="margin:' .. ( (args.float == 'center') and '0 auto' or 'auto' ) .. '; border:none;"><tr><td style="border:none; padding:0;">'
output[11] = '</td></tr></table>[[CategoryCategoria:Pagine che usano grafici a barre centrati|' .. ( (width == 'auto') and 'Ω' or '' ) .. mw.title.getCurrentTitle().text .. ']]'
end
Riga 575:
if args.title then
output[3] =
'<tr>' ..
'<tr style="background:' .. (args.titlebar or 'none') .. '">' ..
'<th style="text-align:center;" colspan="5">' .. args.title .. '</th>' ..
'</tr>\n'