Polydopamine microcapsules with different wall structures prepared by a template-mediated method for enzyme immobilization.