Added Template var to resolver (Twig-Template)

__Tasks:__

- [ ] test coverage
- [ ] gather feedback for my changes
- [ ] submit changes to the documentation

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | #510 
| BC Breaks     | none
| Doc           | (fixes bug in the doc)