Consistently used dollar notation in template docs (see #1794)