Refactor block parameters template rendering to simplify overloading.