Hi @neilw!
Are you sure you’re writing the code in the source mode? It looks rather the opposite. The {{ are escaped when you switch to source mode and not from source mode. You can also edit the page in Wiki mode for coding.
Ok, it is because you keep some blank spaces between brackets and velocity, meaning that the velocity macro call is invalid. See in the following 2 examples how the syntax highlight helps you to detect wrong syntax.