Modulo:FictionTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica |
m p3 |
||
Riga 11:
-- Parsifica il parametro annoprimatv
local function parse_annoprimatv(annoprimatv)
local
-- annoprimatv senza intervallo, esempio "[[2010]]" (con o senza wikilink)
if annoprimatv:match('^%d%d%d%d$') or annoprimatv:match('^%[%[%d%d%d%d%]%]$') then
Line 60 ⟶ 58:
-- annoprimatv e tipofiction sono obbligatori
if args.annoprimatv and args.tipofiction then
inizio, produzione, fine, err = parse_annoprimatv(args
args.tipofiction = args.tipofiction:lower()
else
|