Modulo:Film: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nuovo modulo
 
m delink
Riga 7:
local getArgs = require('Modulo:Arguments').getArgs
local mWikidata = require('Modulo:Wikidata')
local mDelink = require('Modulo:Delink')
local errorCategory = '[[Categoria:Errori di compilazione del template Film]]'
local p = {}
Riga 36 ⟶ 37:
if args.annouscita then
ret = tonumber(args.annouscita:match('^%[%[(%d+)%]%]$'))
ret = (ret and ret >= 1880 and ret <= 20202030) and tostring(ret) or nil
else
ret = mWikidata._getProperty({ 'P577', time = 'year' })
Riga 53 ⟶ 54:
}
 
paese =if paese:match('^%[%[([%w%s|]+)%]%]$') then
paese = mDelink._main({ paese })
if paese then
-- utilizza AggNaz ad eccezione di questi tre valori
if values[paese] then