Create template for thread list.