Modulo:Controllo certificazioni: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
correggo |
espando |
||
Riga 9:
local awards = { "d'oro", "di platino", "di diamante" }
for _, v in ipairs(awards) do
if subcontent then
return cat▼
local n = 0
for s, c in string.gmatch(subcontent, '(.*)([|{}]+)') do
if s ~= '' and s:match('FIMI') then
▲ return cat
end
if n == 0 and c == '|' or c == '}}' then
return
elseif c == '{{' then
n = n + 1
elseif c == '}}' then
n = n - 1
end
end
end
end
|