Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 87:
if target == mw.title.getCurrentTitle().text and mw.title.getCurrentTitle().namespace == 0 then
if stagioni == '1' or stagioni == '1±0' then
if tipo == 'programma' then
categoria = string.format('[[Categoria:Edizioni di programmi televisivi|%s]]', etichetta) else
categoria = string.format('[[Categoria:Liste di episodi di serie televisive|%s]]', etichetta)
end
else
if tipo == 'programma' then
categoria = string.format('[[Categoria:Edizioni %s %s|%02d]]', preposizione, etichetta, i) else
Riga 109:
elseif args[3] == 'elenco' then template = links
elseif args[4] == 'elenco' then template = links
elseif stagioni == '1' or stagioni == '1±0' then template = categoria
else template = navbox._navbox({
name = 'Stagioni televisive',
|