Conditionals and outputting tables Need a hand on a conditional to see if my table has any data, and if it does, output the table. The second thing I  need help is the code to output the table. When I look at tutorials, they always seem to output the table as an HTML list. Like:

   {% if block.codePoints | length %}
    &lt;ul&gt;
    {% for row in block.codePoints %}
         {# Assuming 'text' is the column handle of the text field #}
        &lt;li&gt;{{ row.text }}&lt;/li&gt; 
    {% endfor %}
    &lt;/ul&gt;
{% endif %}


I can't find an example of:

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;


Thanks.
Assuming your example code, something along these lines will help...

{% if entry.yourTable | length %}
    &lt;table&gt;
    {% for row in entry.yourTable %}
    &lt;tr&gt;
       &lt;td&gt;{{ row.column1 }}&lt;/td&gt;&lt;td&gt;{{ row.column2 }}&lt;/td&gt;&lt;td&gt;{{ row.column3 }}&lt;/td&gt;
    &lt;/tr&gt; 
    {% endfor %}
    &lt;/table&gt;
{% endif %}


Here's the relevant section in the docs: Table fields