Summary
In this chapter, we have learned how to format the values in template variables, and have also seen how to make conditional decisions based on the value of template variables, and accordingly present a different output either from the HTML in the expression or from a chunk or snippet. We have also, in the process of learning PHx, added a Family and Friends section to the site, which allows us to hide labels when the corresponding values are empty.