Answers.Body: <p>There's no block types with SuperTable, so no need to check that. Other that that it works just the same as Matrix fields.</p>
  
  <pre><code>{% for row in superTableField %}
      {{ row.textFieldInSuperTableField }}
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-15T21:59:11.897Z
Answers.LastActivityDate: 2015-06-15T21:59:11.897Z
Answers.UserDisplayName: carlcs
Answers.Body: <p>There are a few templating examples via the documentation - <a href="https://verbb.io/craft-plugins/super-table/docs/guides/templating-examples" rel="nofollow noreferrer">https://verbb.io/craft-plugins/super-table/docs/guides/templating-examples</a></p>
  
  <p>But as @carlcs states, I believe the issue is that you're checking <code>{% if block.type == "innhold" %}</code> which will fail, as a SuperTableBlock doesn't have an attribute <code>type</code> at all, unlike Matrix.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-28T21:31:52.540Z
Answers.LastActivityDate: 2018-02-28T21:31:52.540Z
Answers.UserDisplayName: crawf
Body: <p>I'm using the SuperTable plugin to create Matrix fields inside a super Table. It's looking great in the front-end but I can't find any documentation on how to template the fields. This is my code so far: </p>
  
  <pre><code>            &lt;div class="article-blocks"&gt;
              {% for block in entry.informasjon %}
  
                  {% if block.type == "innhold" %}
  
                      {% for row in entry.velg1Av3BildeVideo %}
  
                          &lt;div class="image-container"&gt;
                              {% for image in entry.bilde1 %}
                                  &lt;img src="/{{ image.getUrl('artikkelBlokk1Lite') }}" alt="{{ image.title }}" /&gt;
                              {% endfor %}
                              {% for image in entry.bilde2 %}
                                  &lt;img src="/{{ image.getUrl('artikkelBlokk1Stor') }}" alt="{{ image.title }}" /&gt;
                              {% endfor %}
                          &lt;/div&gt;
  
                      {% endfor %}     
  
                  {% endif %}  
  
              {% endfor %}
              &lt;/div&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-15T12:43:02.243Z
Comments.Text: Have you tried getting in touch with the plugin author? https://github.com/engram-design/SuperTable
Comments.UserDisplayName: Mats Mikkel Rummelhoff
Tags: <matrix><plugins><table><plugin-supertable>
Title: Templating SuperTable
ThreadText: # Templating SuperTable
  
  (Asked by: username_0 on 2015-06-15)
  
  I'm using the SuperTable plugin to create Matrix fields inside a super Table. It's looking great in the front-end but I can't find any documentation on how to template the fields. This is my code so far:
  
  ```
              <div class="article-blocks">
              {% for block in entry.informasjon %}
  
                  {% if block.type == "innhold" %}
  
                      {% for row in entry.velg1Av3BildeVideo %}
  
                          <div class="image-container">
                              {% for image in entry.bilde1 %}
                                  <img src="/{{ image.getUrl('artikkelBlokk1Lite') }}" alt="{{ image.title }}" />
                              {% endfor %}
                              {% for image in entry.bilde2 %}
                                  <img src="/{{ image.getUrl('artikkelBlokk1Stor') }}" alt="{{ image.title }}" />
                              {% endfor %}
                          </div>
  
                      {% endfor %}     
  
                  {% endif %}  
  
              {% endfor %}
              </div>
  
  ```
  
  **Tags:** matrix, plugins, table, plugin-supertable
  
  > **Comments:**
  > **username_1**: Have you tried getting in touch with the plugin author? https://github.com/engram-design/SuperTable  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-06-15. Score: 8
  
  There's no block types with SuperTable, so no need to check that. Other that that it works just the same as Matrix fields.
  
  ```
  {% for row in superTableField %}
      {{ row.textFieldInSuperTableField }}
  {% endfor %}
  
  ```
  
  
  ---
  
  ### Answer by username_3 on 2018-02-28. Score: 1
  
  There are a few templating examples via the documentation - <https://verbb.io/craft-plugins/super-table/docs/guides/templating-examples>
  
  But as @username_2 states, I believe the issue is that you're checking `{% if block.type == "innhold" %}` which will fail, as a SuperTableBlock doesn't have an attribute `type` at all, unlike Matrix.
  
  
  ---
  
  