title: Passing variable into included twig template that has variable in template name
body: <p>Is it possible to pass variables into an included twig template, where the template name is a variable in itself?</p>
  
  <pre><code>{% include('MyMainBundle:MyEntity:' ~ entity.templateName) %}
  </code></pre>
  
  <p>works, but when I try to also pass a variable into this template, twig throws a syntax error.</p>
  
  <pre><code>{% include('MyMainBundle:MyEntity:' ~ entity.templateName, {'name' : myName} ) %}
  </code></pre>