Modulo:Criteri cancellazione immediata/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+
fix
Riga 114:
end
 
if type(props.testo) == 'table' or type(props.testi) == 'table' then
if type(props.testo.singolare) == 'string' then
criterion:setText(props.testo.singolare, ns, 'singolare')
elseif type(props.testi['messaggio di sistema']) == 'string' then
criterion:setText(props.testi['messaggio di sistema'], ns, 'singolare')
end
 
if type(props.testo.plurale) == 'string' then
criterion:setText(props.testo.plurale, ns, 'plurale')
end
elseif type(props.testi.definizione) == 'string' then
elseif type(props.testi) == 'table' then
elseifif type(props.testi['messaggio di sistema']) == 'string' then
criterion:setText(props.testi['messaggio di sistema'], ns, 'singolare')
end
 
elseifif type(props.testi.definizione) == 'string' then
criterion:setText(props.testi.definizione, ns, 'plurale')
end