Fix template validation docs and example.

Please accept this request to update the template module docs and example for validation to match that in the copy module.