{% extends "base.html" %} {% block introduction %} {% if msgs.lede %}
🔗 {{abif_id}}     (tags: { {% for t in msgs.taglist %} {{t}} {% if not loop.last %}, {% endif %} {% endfor %})

{{ msgs.lede | safe }}

{% else %}

Your .abif has been processed. See results below

{% endif %} {% endblock introduction %} {% block content %} {% set all_results_generated = (result_types|length == 5) %} {% include 'abifbox-snippet.html' %}

{{ webenv.statusStr }}Results

{% if abif_id %} {% set pathpart="/id/" + abif_id %} {% set abslink=webenv.base_url + pathpart %}
🔗{{abslink}}
{% endif %} {% if msgs.results_name %}

The {{msgs.results_name}} of {{abif_id}} are below, and can be edited in the field above.

{% elif msgs.results_lede %} {# msgs.results_lede is DEPRECATED as of 2024-06-19 #}

{{ msgs.results_lede | safe }}

{% else %}

Below are various abiftool output blocks for the ABIF above. {% endif %}

{############ dot ############} {% set restype="dot" %} {% set rellink=restype + "#" + restype %} {% if 'dot' in result_types and dotsvg_html %}

Pairwise diagram

{% if abif_id %} {% set pathpart="/id/" + abif_id + "/" + rellink %} {% set abslink=webenv.base_url + pathpart %}
{{abif_id}} pairwise diagram permalink:
🔗{{abslink}}

{{ dotsvg_html | safe }}

{% else %}

{{ dotsvg_html | safe }}

{% endif %} {% endif %} {############ wlt ############} {% set restype="wlt" %} {% set rellink=restype + "#" + restype %} {% if 'wlt' in result_types and pairwise_html %}

Win-loss-tie table

{% if abif_id %} {% set pathpart="/id/" + abif_id + "/" + rellink %} {% set abslink=webenv.base_url + pathpart %}
{{abif_id}} w-l-t table permalink:
🔗{{abslink}}
{% endif %}

Pairwise winner(s): {{copewinnerstring}}

{{ pairwise_html | safe }}
{% endif %} {############ FPTP ############} {% set restype="FPTP" %} {% set rellink=restype + "#" + restype %} {#{% if 'FPTP' in result_types and resblob['FPTP_result'] %}#} {% if 'FPTP' in result_types %}

FPTP result

{% if abif_id %} {% set pathpart="/id/" + abif_id + "/" + rellink %} {% set abslink=webenv.base_url + pathpart %}
"FPTP" is "First-past-the-post", also known as "plurality" or "choose-one"
{{abif_id}} FPTP results permalink:
🔗{{abslink}}
{% endif %}

{% include 'fptp-snippet.html' %}

{% endif %} {############ IRV ############} {% set restype="IRV" %} {% set rellink=restype + "#" + restype %} {% if 'IRV' in result_types and IRV_dict %}

IRV/RCV results

{% if abif_id %} {% set pathpart="/id/" + abif_id + "/" + rellink %} {% set abslink=webenv.base_url + pathpart %}
{{abif_id}} IRV/RCV result permalink:
🔗{{abslink}}
{% endif %}

{% include 'irv-snippet.html' %}

{% endif %} {############ STAR ############} {% set restype="STAR" %} {% set rellink=restype + "#" + restype %} {% if 'STAR' in result_types and STAR_html %}

STAR results

{% if abif_id %} {% set pathpart="/id/" + abif_id + "/" + rellink %} {% set abslink=webenv.base_url + pathpart %}
{{abif_id}} STAR results permalink:
🔗{{abslink}}
{% endif %} {% if scorestardict['star_lede'] %}

{{ scorestardict['star_lede'] }}

{% endif %}

{% include 'star-snippet.html' %}

{% if scorestardict['star_foot'] %}

{{ scorestardict['star_foot'] }}

{% endif %} {% endif %}

(homepage)

{% endblock content %}