{% load humanize madlibs comparatives stats %} {% if not stat_wrapper == 'false' %}{% endif %} {% if not stat.values.this %} {{ WAZIMAP.na_label }} {% else %} {% if stat_type == 'name' %} {{ stat.name }} {% else %} {% statvalue stat.values.this %} {% if stat_suffix %} {{ stat_suffix }}{% endif %} {% endif %} {% if stat.error.this_ratio >= 10 %}{% endif %} {% endif %} {% if not stat_class == 'secondary' %} {% if stat.error.this %} ±{% statvalue stat.error.this %} {% endif %} {% if stat.numerators.this %} ({% statvalue stat.numerators.this isnumerator=True %}{% if stat.numerator_error.this %}  ±{% statvalue stat.numerator_errors.this isnumerator=True %}{% endif %}) {% endif %} {% endif %} {% if stat_type == 'name' %}{{ stat_name }}{% else %}{{ stat.name }}{% endif %} {% if stat_class == 'secondary' %} {% if stat.error.this %} ±{% statvalue stat.error.this %} {% endif %} {% if stat.numerators.this %} ({% statvalue stat.numerators.this isnumerator=True %}{% if stat.numerator_error.this %}  ±{% statvalue stat.numerator_errors.this isnumerator=True %}{% endif %}) {% endif %} {% endif %} {% if geography.comparatives and stat.values.this and not stat_class == 'secondary' %} {% endif %} {% if not stat_wrapper == 'false' %}{% endif %}