Towards a general parametrization of the warm dark matter halo mass function