Modulo:Infobox/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
aggiornato alla versione corrente
+CreaTable, rimossi InserisciTestata e InserisciCoda inutilizzati
Riga 167:
local function _infobox()
-- Crea l'albero html che rappresenta la tabella del sinottico e restituisce il markup
if args.InserisciTestataCreaTable == 'no' then
root = mw.html.create('')
else
Riga 175:
:cssText(args.StileTabella or '')
:attr('summary', args.Summary or 'Tabella sinottica che riassume i principali dati del soggetto')
renderTitle()
renderImage()
end
renderTitle()
renderImage()
renderRows()
renderLastRow()
if args.InserisciCoda ~= 'no' then
renderNavBar()
renderLastRow()
renderNavBar()
end
return tostring(root)
end
Riga 293 ⟶ 291:
preprocessSingleArg('NomeTemplate')
preprocessSingleArg('LinkWikidata')
preprocessSingleArg('InserisciTestataCreaTable')
preprocessSingleArg('InserisciCoda')
preprocessSingleArg('Summary')
return _infobox()