I forgot to mention this before, but this doesn't need to be a macro. Macros are intended for template code that takes an argument, but this one doesn't. Instead, you would use an include and store this code in an individual template, but this code isn't reused anywhere, so you might as well just include it directly in the original template.