Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica |
m t |
||
Riga 67:
if tipo == 'programma' then
elseif tipo == 'serie TV' or tipo == 'animata' then
else title = mw.title.new(string.format('Episodi de %s (prima stagione)', etichetta))▼
if string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei]') then
preposizione = (title and title.exists) and 'de' or 'di'▼
preposizione = string.find(mw.title.getCurrentTitle().text, '^Episodi de') and 'de' or 'di'
end
end
for i = 1, stagioni do
local ordinaleF = ordinalefemminile(i)
Riga 103 ⟶ 106:
if not id or not etichetta or not stagioni then
template = mw.title.getCurrentTitle().namespace == 0 and errorCategory or nil
elseif args[2] == 'elenco' or args[3] == 'elenco' or args[4] == 'elenco' then template = links
elseif stagioni == '1' or stagioni == '1±0' then template = categoria
else template = navbox._navbox({
|