Modulo:FictionTV: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
prova tipo_colore
m fix
Riga 118:
BN=tipocolore:match('[Bb]%/?[Nn]')
nero=tipocolore:match('nero')
coloreintero=tipocolore:match('(.+)')
return colore, BN, nero, coloreintero
end
 
function p.tipo_colore(frame)
local args, colore, BN, nero, coloreintero, acolori, biancoenero, misto
 
args = getArgs(frame, { parentOnly = true })
Riga 137 ⟶ 136:
elseif BN or nero and colore then
misto= '[[Televisione a colori|a colori]] e [[Bianco e nero|B/N]]'
else
coloreintero = coloreintero
end
Riga 144 ⟶ 141:
biancoenero = biancoenero and string.format('%s', biancoenero) or ''
misto = misto and string.format('%s', misto) or ''
 
coloreintero = coloreintero and string.format('%s', coloreintero) or ''
return acolori, biancoenero, misto, coloreintero
return acolori, biancoenero, misto, coloreintero
end