Template utils for pretty irc formatting