improved the templating docs