added correct code for using a template attribute. Also added in code to allow the item description to be displayed.