1<table class="list attributes"> 2 <tbody> 3 <tr> 4 <th>Attribute</th> 5 <th>Value</th> 6 </tr> 7 {% for name, value in attributes.text %} 8 <tr> 9 <td>{{ name }}</td> 10 <td>{{ value }}</td> 11 </tr> 12 {% endfor %} 13 14 {% for name, links in attributes.link %} 15 <tr> 16 <td>{{ name }}</td> 17 <td> 18 {% if links %} 19 {% for link in links %} 20 <a class="button small" href="{{ link.href }}">{{ link.name }}</a> 21 {% endfor %} 22 {% else %} 23 None 24 {% endif %} 25 </td> 26 </tr> 27 {% endfor %} 28 29 {% for name, code in attributes.code %} 30 <tr> 31 <td>{{ name }}</td> 32 <td>{% include "snippet_code.html" %}</td> 33 </tr> 34 {% endfor %} 35 </tbody> 36</table> 37