2015-11-15 17:49:22 +01:00
|
|
|
{% import 'tables.tmpl' as tables -%}
|
|
|
|
|
|
2019-05-27 04:42:21 +02:00
|
|
|
{% if (event.type_with_msgtype) %}
|
|
|
|
|
``{{event.type_with_msgtype}}``
|
|
|
|
|
{{(4 + event.type_with_msgtype | length) * title_kind}}
|
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
|
|
{% if (not event.type_with_msgtype) %}
|
2015-05-19 16:54:24 +02:00
|
|
|
``{{event.type}}``
|
2015-05-28 11:45:00 +02:00
|
|
|
{{(4 + event.type | length) * title_kind}}
|
2019-05-27 04:42:21 +02:00
|
|
|
{% endif -%}
|
2016-10-13 18:23:11 +02:00
|
|
|
|
|
|
|
|
{% if (event.typeof | length) %}
|
2015-05-26 11:40:04 +02:00
|
|
|
*{{event.typeof}}*
|
2018-08-30 21:57:09 +02:00
|
|
|
{{event.typeof_info | indent_block(4)}}
|
2015-05-21 14:31:08 +02:00
|
|
|
|
2016-10-13 18:23:11 +02:00
|
|
|
{% endif -%}
|
|
|
|
|
|
2017-10-17 17:34:50 +02:00
|
|
|
{{event.desc}}
|
|
|
|
|
|
2016-02-23 15:43:36 +01:00
|
|
|
{% for table in event.content_fields %}
|
2015-05-19 16:54:24 +02:00
|
|
|
|
2018-08-30 18:01:27 +02:00
|
|
|
{{ tables.paramtable(table.rows, [(table.title or "Content") ~ " Key", "Type", "Description"], (table.title or "")) }}
|
2015-05-19 16:54:24 +02:00
|
|
|
|
2015-05-21 11:39:54 +02:00
|
|
|
{% endfor %}
|
2015-10-28 16:00:53 +01:00
|
|
|
Example{% if examples | length > 1 %}s{% endif %}:
|
2015-10-26 17:27:57 +01:00
|
|
|
|
2015-10-28 16:00:53 +01:00
|
|
|
{% for example in examples %}
|
2015-10-26 17:27:57 +01:00
|
|
|
.. code:: json
|
2015-05-19 16:54:24 +02:00
|
|
|
|
2015-05-21 12:12:43 +02:00
|
|
|
{{example | jsonify(4, 4)}}
|
2015-10-28 16:00:53 +01:00
|
|
|
{% endfor %}
|