Templates only need to be quoted if they are on a single line. Multi-line templates should not be inside quotes. They do however need the multi-line indicator symbol, > which was missing. So this
The top one worked the bottom one did not though I did not understand the greater than symbol and quotes reasons in the template have e little better understanding now though still far from being a programmer LOL