template function + example page
Merge branch 'master' of github.com:slawkacz/templates