Reformat thread template