title: Inline variable in the Play framework 2.x Scala template
body: <p>How to create an inline variable in the Play framework 2.x Scala template?
  Path from the <a href="http://www.playframework.org/documentation/2.0.1/ScalaTemplates">Play's guide</a> is not clear to me:</p>
  
  <pre><code>@defining(user.firstName + " " + user.lastName) { fullName =&gt;
    &lt;div&gt;Hello @fullName&lt;/div&gt;
  }
  </code></pre>