{# home, draw, away: float|null — active_outcome — home_count/draw_count/away_count — variant: square|card|compact|banner #} {% set active = active_outcome|default(null) %} {% set block_variant = variant|default('banner') %} {% set pronostics_count = pronostics_count|default(null) %} {% set show_pronostics_meta = show_pronostics_meta|default(true) %} {% set show_outcome_counts = show_outcome_counts|default(home_count is defined or draw_count is defined or away_count is defined) %} {% set count_format = count_format|default('label') %} {% set cotes_filterable = cotes_filterable|default(false) %} {% set highlight_final = highlight_final|default(false) %}
{% if highlight_final and active == 'HOME' %} Cote finale {% endif %} 1 {% if home is not null %}×{{ home|number_format(2, ',', ' ') }}{% else %}—{% endif %} {% if show_outcome_counts and home_count is defined %} {%- if count_format == 'paren' -%} ({{ home_count }}) {%- else -%} {{ home_count }} prono{{ home_count > 1 ? 's' : '' }} {%- endif -%} {% endif %}
{% if highlight_final and active == 'DRAW' %} Cote finale {% endif %} N {% if draw is not null %}×{{ draw|number_format(2, ',', ' ') }}{% else %}—{% endif %} {% if show_outcome_counts and draw_count is defined %} {%- if count_format == 'paren' -%} ({{ draw_count }}) {%- else -%} {{ draw_count }} prono{{ draw_count > 1 ? 's' : '' }} {%- endif -%} {% endif %}
{% if highlight_final and active == 'AWAY' %} Cote finale {% endif %} 2 {% if away is not null %}×{{ away|number_format(2, ',', ' ') }}{% else %}—{% endif %} {% if show_outcome_counts and away_count is defined %} {%- if count_format == 'paren' -%} ({{ away_count }}) {%- else -%} {{ away_count }} prono{{ away_count > 1 ? 's' : '' }} {%- endif -%} {% endif %}
{% if show_pronostics_meta and not show_outcome_counts and pronostics_count is not null and pronostics_count > 0 %}

{{ pronostics_count }} pronostic{{ pronostics_count > 1 ? 's' : '' }} sur ce match

{% endif %}