matrix-spec/templating/matrix_templates/templates/common-event-fields.tmpl
Richard van der Hoff c058dd5c3f Use standard logic to parse core event schemas
Use process_data_type rather than reinventing our own wheel; doing so means
that the 'Required' fields are correctly annotated as such.
2017-11-03 16:50:38 +00:00

14 lines
314 B
Cheetah

{% import 'tables.tmpl' as tables -%}
{{common_event.type}} Fields
{{(7 + common_event.type | length) * title_kind}}
{{common_event.desc}}
{% for table in common_event.tables %}
{{"``"+table.title+"``" if table.title else "" }}
{{ tables.paramtable(table.rows, ["Key", "Type", "Description"]) }}
{% endfor %}