Added function and template to create detailed index entries