How I use fields on a custom template?
Download and enable the devel module to use dpm() on $content. This will show you the proper structure of the $content array. Sometimes entities and fields will have different structures depending on their type or how they're being implemented for that content type.