It would have been the largest temple in the world at the time, but it was never completed.
Had it been completed, it would've been the largest template in the world at that time.
When it was completed, it was the largest template in the world.