<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>

CC BY-SA 3.0
2015-06-15T21:59:11.897Z
2015-06-15T21:59:11.897Z
carlcs
<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>

CC BY-SA 3.0
2018-02-28T21:31:52.540Z
2018-02-28T21:31:52.540Z
crawf
<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>

CC BY-SA 3.0
2015-06-15T12:43:02.243Z
Have you tried getting in touch with the plugin author? https://github.com/engram-design/SuperTable
Mats Mikkel Rummelhoff
<matrix><plugins><table><plugin-supertable>
Templating SuperTable
# 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: 
            
            {% for block in entry.informasjon %}

                {% if block.type == "innhold" %}

                    {% for row in entry.velg1Av3BildeVideo %}

                        
                            {% for image in entry.bilde1 %}
                                
                            {% endfor %}
                            {% for image in entry.bilde2 %}
                                
                            {% endfor %}
                        

                    {% endfor %}     

                {% endif %}  

            {% endfor %}

**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.


---

