Modulo:Infobox/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Annullata la modifica 130557735 di Sakretsu (discussione) Etichetta: Annulla |
Test parametro posizione |
||
Riga 192:
local function _infobox()
-- Crea l'albero html che rappresenta la tabella del sinottico e restituisce il markup
if args.CreaTable == 'no' or args.Posizione == 'corpo' or args.Posizione == 'coda' then
root = mw.html.create('')
else
Riga 206:
renderLastRow()
renderNavBar()
if args.Posizione == 'coda' then
res = res .. '</table>';
elseif args.Posizione == 'testa' then
res = mw.ustring.gsub( res, '</table>$', '')
end
return res
end
Riga 321 ⟶ 328:
preprocessSingleArg('LinkWikidata')
preprocessSingleArg('CreaTable')
preprocessSingleArg('Posizione')
preprocessSingleArg('Summary')
return _infobox()
|