{# Template to render a thirdparty OPTIONS * render string ['raw'|'label'|'bloc'] * with_valid_from bool * addLink bool * addEntity bool * addId bool * addInfo bool * isConfidential bool * hLevel integer * customButtons [ 'before' Twig\Markup, (injected with macro) 'replace' Twig\Markup, 'after' Twig\Markup ] * customArea [ 'beforeLabel' Twig\Markup, 'afterLabel' Twig\Markup, ] #} {% macro raw(thirdparty, options) %} {{ thirdparty|chill_entity_render_string }} {% endmacro raw %} {% macro label(thirdparty, options) %}
{# {{ thirdparty.nameCompany }} {{ thirdparty.acronym }} #} plus d'infos
{%- endif -%} {#- tricks to remove easily whitespace after template -#} {%- if true -%}