title: Template.body vs Template.myTemplate
body: <p>I am currently going through the Meteor tutorial (<a href="https://www.meteor.com/try" rel="nofollow">https://www.meteor.com/try</a>), and have come across something about Templates that puzzles me.</p>
  
  <p>In the tutorial, a simple "Todo List" application gets created. In this app, the following HTML is placed into the <strong>simple-todos.html</strong> file:</p>
  
  <pre><code>&lt;!-- simple-todos.html --&gt;
  &lt;head&gt;
    &lt;title&gt;Todo List&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div class="container"&gt;
      &lt;header&gt;
        &lt;h1&gt;Todo List&lt;/h1&gt;
      &lt;/header&gt;
  
      &lt;ul&gt;
        {{#each tasks}}
          {{&gt; task}}
        {{/each}}
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;template name="task"&gt;
    &lt;li&gt;{{text}}&lt;/li&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Then, the following JavaScript is placed into the <strong>simple-todos.js</strong> file:</p>
  
  <pre><code>// simple-todos.js
  Tasks = new Mongo.Collection("tasks");
  
  if (Meteor.isClient) {
    // This code only runs on the client
    Template.body.helpers({
      tasks: function () {
        return Tasks.find({});
      }
    });
  }
  </code></pre>
  
  <p>At this point, the example works exactly as intended. However, as I poke around in the documentation, as well as look at other examples on the web, I have noticed slightly different syntax: using <strong>Template.<em>myTemplate</em></strong> instead of <strong>Template.<em>body</em></strong>.</p>
  
  <p>So, out of curiosity, I altered my JavaScript file to read:</p>
  
  <pre><code>Template.task.helpers({ ...
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>Template.body.helpers({ ...
  </code></pre>
  
  <p>However, when I run the application now, the client does not display the data from the collection. I don't get any errors about undefined types, like I do if I misspell the template name in the JavaScript, so it seems that it is resolving the template correctly. But why isn't it getting used or rendered?</p>
  
  <p>And to go a little further: when is it appropriate to use Template.<em>myTemplate</em> and when is it appropriate to use Template.<em>body</em>?</p>