as a joke
Mario pesca una pesca nel fiume per scherzo.
Mario catches a peach in the river as a joke.
He didn’t mean it as a joke.
— La leggenda del pianista sull'oceano (1998)
Magari è di un amico, che gliel'ha messa per scherzo.
Maybe it’s a friend’s, and he put it there as a joke.
— È arrivata mia figlia! (2015)
Ne abbiamo già parlato in passato, anche se più per scherzo che per altro.
We’ve talked about it before, although more as a joke than anything else.