{% load common_extras %} {% with strength=value|multiply:5|int_divide:max %} {% if strength == 0 %} {% include "bi/reception-0.html" %} {% elif strength == 1 %} {% include "bi/reception-1.html" %} {% elif strength == 2 %} {% include "bi/reception-2.html" %} {% elif strength == 3 %} {% include "bi/reception-3.html" %} {% elif strength >= 4 %} {% include "bi/reception-4.html" %} {% endif %} {% endwith %}