updated templating: added formating (number, date and string) + updated example of templating