Modulo:StagioniTV/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
t-1
Nessun oggetto della modifica
Riga 65:
 
if tipo == 'programma' then
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'
if args[2] ~= 'elenco' and args[3] ~= 'elenco' and args[4] ~= 'elenco' then
if string.find(mw.title.getCurrentTitle().text, '^.+%(%a+edizione%)$') then
nome = string.match(mw.title.getCurrentTitle().text, '^(.+) %(%a+edizione%)$')
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'
end
elseif mw.title.new(string.format('%s (prima edizione)', sitelink)).exists then
nome = sitelink else
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'
else
nome = etichetta
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'
end
elseif tipo == 'serie TV' or tipo == 'animata' then