Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 65:
if tipo == 'programma' then
if args[2] ~= 'elenco' and
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'▼
elseif mw.title.new(string.format('%s (prima edizione)', sitelink)).exists then▼
nome = sitelink▼
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s', nome)).exists and 'de' or 'di'
▲
else
nome =
preposizione = mw.title.new(string.format('Categoria:Edizioni de %s',
end
elseif tipo == 'serie TV' or tipo == 'animata' then
if args[2] ~= 'elenco' and
if string.find(mw.title.getCurrentTitle().text, '^Episodi d[ei].+stagione%)$') then
nome = string.match(mw.title.getCurrentTitle().text, '^Episodi d[ei] (.+) %(%a+ stagione%)$')
|