Modulo:MultiBand: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m debug |
Nessun oggetto della modifica |
||
Riga 9:
for i=1,maxInterval do
currentYear = args["anno" .. i]
if tonumber(currentYear)
temp = args[param .. i]
if temp ~= nil and temp ~= "" then
end
end
end
Riga 23 ⟶ 24:
local pframe = frame:getParent()
for k, v in pairs( pframe.args ) do
-- mappo
if v ~=nil then args[k] = v end
-- cerco l'intervallo più recente
num = string.match(k, "
if num then
if tonumber(num) > tonumber(maxInterval) then
maxInterval = num
end
Riga 36 ⟶ 37:
local year = args["anno"]
if year == nil then year = getValue("anno", maxInterval) end
return getValue(frame.args[1], year)
end
|