Badge formatting