Please check this path under openacs installation dir :packagesacs-templatingwwwdoc agrefvariable.html
Acs-templating package has lot of documentation. If you access the documentation through http url , you can see various tags in action, using small, simple example files from packagesacs-templatingwwwdocdemo directory.