resolving templates from string
1.10.11