Modulo:Bozza: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m solo parametro esito
mostra richieste precedenti
Riga 62:
state = 'N'
end
end
 
local history_table
 
if #submissions.old > 0 then
history_table = mw.html.create('table')
:cssText('border-collapse: collapse; font-size: 95%; width: 100%')
:tag('tr')
:tag('th')
:cssText('padding-right: 2em; text-align: right')
:wikitext('Richieste precedenti')
:done()
:done()
 
for _, submission in ipairs(submissions.old) do
submission = submission:gsub('%}%}$', '|mostra esito=x}}')
history_table
:tag('tr')
:cssText('border-top: thin solid #D8D8D8')
:wikitext(frame:preprocess(submission))
end
 
history_table = tostring(history_table)
end
 
local ret = frame:expandTemplate{
title = 'Template:Bozza/avviso',
args = { state, ts = args.ts, ['cronologia revisioni'] = history_table }
}