Template with specified pattern {%variable:[0-9]+%}