Docs: Fix template function examples (#7148)
Docs: Fix template function examples (#7148)

Some examples only had a single open brace,
but require two. I added the missing braces.


**What this PR does / why we need it**:
Improves documentation, helps users who are reading docs about template
functions.
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki