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.
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
renderRows()
▲ renderLastRow()
▲ renderNavBar()
return tostring(root)
end
Riga 293 ⟶ 291:
preprocessSingleArg('NomeTemplate')
preprocessSingleArg('LinkWikidata')
preprocessSingleArg('
preprocessSingleArg('Summary')
return _infobox()
|