Fixed template validation docs and example.
Merge pull request #6706 from geerlingguy/devel

Fix template validation docs and example.