Modulo:Partiti: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica |
non più necessario Etichetta: Annullato |
||
Riga 24:
local x2 = mw.ustring.find(b,'%|')
local x3 = mw.ustring.find(b,'%]%]')
local x4 = mw.ustring.find(b,'%<%')
if (x4) then
a = mw.ustring.sub(a,x1+2,x4+x1)
end▼
if (x3) then
if (x2) then
Line 117 ⟶ 121:
cls[3] = 255 - math.floor((255-cls[3])*opac)
return string.format('#%02x%02x%02x',cls[1],cls[2],cls[3])
▲end
end
Line 210 ⟶ 188:
color_table = color_table,
colore_ombra = colore_ombra,
sfondo = sfondo
}
|