}"
		data-min="{{ min|default('0') }}" data-max="{{ max|default('255') }}" data-thresholds="{{ implode(threshold) }}" data-colors="{{ implode(color) }}"
		class="tank">
		<div
			{% if mode == 'cylinder' %}
				style="background-image: url('pages/base/pics/scale_cylinder.png'); background-color: {{ color[0]|default('#444') }};"
			{% elseif mode == 'water' %}
				style="background-image: url('pages/base/pics/scale_water.png'); background-color: {{ color[0]|default('#09f') }};"
			{% elseif mode == 'pellets'