Contact me to be added to this repository. Push the creations you make for D&D, and they will be displayed in a nice website. See the website for how to contribute.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
453 B

{% macro itemRow(name, heads, text) -%}
<tr>
<th class="topalign" id="{{name}}">
{{name}}
<table class="props">
{% for (key, value) in heads %}
<tr><th>{{key}}</th><td>{{value}}</td></tr>
{% endfor %}
</table>
</th>
<td class="freeform monospace">{{text}}</td>
</tr>
{%- endmacro %}
{% macro itemTable(rows) -%}
<table>
{% for (name, heads, text) in rows %}
{{ itemRow(name, heads, text) }}
{% endfor %}
</table>
{%- endmacro %}