{% load humanize madlibs stats %} {# to be called via `comparatives` inclusion tag #}
  • {% if index and stat_type != 'count' %} {{ index|comparison_index_phrase }} the {{ stat_type|stat_type_to_number_noun }} in {{ place_name }}: {% statvalue value %} {% if error_ratio >= 10 %}{% endif %} {% else %} {{ place_name }}: {% statvalue value %} {% endif %} {% if numerator %} {% statvalue numerator isnumerator=True %} {% if error %} (± {% statvalue error %}{% if numerator_error %} / ±{% statvalue numerator_error isnumerator=True %}{% endif %}) {% endif %} {% elif error %} ±{% statvalue error %} {% endif %}