Modulo:Infobox/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
nuova linea |
funzione per la gestione delle liste nei campi Valore |
||
Riga 6:
local root -- radice del markup html
local dump = {}
local function checkList(valore)
-- Permette al software Mediawiki di gestire le liste # o *
i = mw.ustring.sub(valore, 1, 1)
if i == '#' or i == '*' then
valore = '<div>\n' .. valore .. '\n</div>'
end
return valore
end
local function getArgNums(...)
Riga 57 ⟶ 66:
:addClass(rowArgs.classe or '')
:cssText(args.StileValore or '')
:wikitext(
end
end
|