Modulo:RichiestaCU: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m fix mw.uri.encode()
nuova funzione p.sign() in sostituzione di Template:RichiestaCU/sign
Riga 20:
end
return ''
end
 
function p.sign(frame)
local icone = {
positivo = 'Symbol confirmed.svg',
probabile = 'Symbol support vote.svg',
incerto = 'Symbol possible vote.svg',
negativo = 'Symbol unrelated.svg',
respinto = 'No sign2.svg',
altro = 'Symbol unsupport vote.svg'
}
return '[[File:'..(icone[frame:getParent().args.RISULTATOSIGN] or 'Time2wait.svg')..'|80px]]'
end