Modulo:FictionTV/test: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+test
m fix tab, ordine test
Riga 30:
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
-- anno singolo
{ 'tipofiction=serie TV|annoprimatv=[[2010]]', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive terminate nel 2010]]' },
-- il wikilink è obbligatorio
{ 'tipofiction=serie TV|annoprimatv=2010', '[[:Categoria:Errori di compilazione del template FictionTV]]' },
Riga 40:
{ 'tipofiction=serie TV|annoprimatv=[[2010]] – [[2011]]', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive terminate nel 2011]]' },
-- con "in produzione" con il trattino (U+002D) o la lineetta enne (U+2013)
{ 'tipofiction=serie TV|annoprimatv=[[2010]] - in produzione', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive in produzione]]' },
{ 'tipofiction=serie TV|annoprimatv=[[2010]] – in produzione', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive in produzione]]' },
{ 'tipofiction=serie TV|annoprimatv=[[2010]] - in produzione', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive in produzione]]' },
-- due anni distinti usando la congiunzione
{ 'tipofiction=serie TV|annoprimatv=[[2010]] e [[2015]]', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive terminate nel 2015]]' }