You are here

xbbcode-help.html.twig in Extensible BBCode 8.3

Same filename and directory in other branches
  1. 4.0.x templates/xbbcode-help.html.twig

Default theme implementation for token help.

File

templates/xbbcode-help.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for token help.
  5. */
  6. #}
  7. <p>{{ title }}</p>
  8. <dl>
  9. {% for label, row in rows %}
  10. <dt>
  11. {% if row.suffix %}
  12. {% for suffix in row.suffix %}
  13. <code>{{ '{{ ' }}{{ label_prefix }}{{ label }}{{ suffix }}{{ ' }}' }}</code>
  14. {% endfor %}
  15. {% set description = row.description %}
  16. {% else %}
  17. <code>{{ '{{ ' }}{{ label_prefix }}{{ label }}{{ ' }}' }}</code>
  18. {% set description = row %}
  19. {% endif %}
  20. </dt>
  21. <dd>{{ description }}</dd>
  22. {% endfor %}
  23. </dl>