Modulo:StagioniTV/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
mNessun oggetto della modifica
Riga 65:
 
if tipo == 'programma' then
if string.find(mw.title.getCurrentTitle().text, '%(programma.+edizione%)$') then
nome = sitelink else
else nome = etichetta
end
elseif tipo == 'serie TV' or tipo == 'animata' then
if string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei] .+ %(.*serie') then nome = sitelink
elseif mw.title.new(string.format('Episodi di %s (prima stagione)', sitelink)).exists or mw.title.new(string.format('Episodi de %s (prima stagione)', sitelink)).exists then
nome = sitelink else
else nome = etichetta
end
end
Riga 94 ⟶ 95:
target = string.format('Episodi %s %s (%s stagione)', preposizione, nome, ordinaleF)
end
if tipo == 'programma' then
stagioneoedizione = 'edizione' else
stagioneoedizione = 'stagione'
end
local label = args.formato == 'numeri romani' and mNumeroRomano.main({ i }) or
(args.formato == 'forma breve' and string.format('%dª', i) or