Container to template