The two examples above both use a referenced template. You can also inline templates. For cases where you don't need to reuse templates, this makes sense. It reduces the amount of code. You can do it like this: