Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m t |
mNessun oggetto della modifica |
||
Riga 60:
local lang = mw.language.getContentLanguage()
local sep = ' <b>·</b> '
if tipo == 'animata' then sfondo = 'background:#ab110c;'▼
elseif tipo == 'serie TV' then sfondo = 'background:#115806;'▼
elseif tipo == 'programma' then sfondo = 'background:#161e8e;'▼
end▼
if tipo == 'programma' then
Riga 104 ⟶ 99:
-- Infine è generato il navbox con i dati su estratti e formattati
▲ if tipo == 'animata' then sfondo = 'background:#ab110c;'
▲ elseif tipo == 'serie TV' then sfondo = 'background:#115806;'
▲ elseif tipo == 'programma' then sfondo = 'background:#161e8e;'
▲ end
if not id or not etichetta or not stagioni then
template = mw.title.getCurrentTitle().namespace == 0 and errorCategory or nil
|