| Name | id | Kind | Description | Formats |
|---|---|---|---|---|
| {{ def.name }} | {{ id | replace(from="shortcode_", to="") }} | {{ def.shortcode.kind }} | {{ def.description }} | {% for format, tp in def.templates %}{{ format }},{% endfor %} |
{{ def.description }}
{{ "{%" }} {{ real_id }}({% for p in shortcode.parameters %}{% if not loop.first %} {% endif %}{{ p.name }}{% if p.optional %} [optional]{% endif %}{% if not loop.last %},{% endif %}{% endfor %}) {{ "%}" }}
body
{{ "{%" }} end_{{ real_id }} {{ "%}" }}
{% else %}
{{ "{{" }} {{ real_id }}({% for p in shortcode.parameters %}{% if not loop.first %} {% endif %}{{ p.name }}{% if p.optional %} [optional]{% endif %}{% if not loop.last %},{% endif %}{% endfor %}) {{ "}}" }}
{% endif %}
{{ p.name }} {% if p.optional %}optional{% endif %}: {{ p.description }}
{% if p.type.choice %} Possible values:
{{ e.body }}
result
{{ render(format="html", body=def.examples[0].body) | safe }}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}