Modulo:PopolazioneIT: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+parametro istatID
+opzioni di visualizzazione
Riga 21:
local data = mw.loadData('Modulo:PopolazioneIT/Data')
ret = data[istatID]
if ret and not args.raw then
if args.formatnum then
ret = mw.language.getContentLanguage():formatNum(ret) ..
mw.getCurrentFrame():extensionTag{ name = 'ref', content = data.nota }
end
if args.nota then
ret = ret .. mw.getCurrentFrame():extensionTag{ name = 'ref', content = data.nota }
end
if args.data then
ret = string.format('%s <small>(%s)</small>', ret, data.data)
end
end
end