% set pic = pic|deficon('control_on_off.svg') %}{% endif %}
		{% set col = (color is iterable ? color[loop.index0] : color)|default('icon0') %}
		{% set txt = (text is iterable ? text[loop.index0] : text)|default('') %}
    <a data-widget="basic.stateswitch" data-val="{{ val }}" data-index="{{ loop.index0 }}" data-col="{{ col }}" {{ col == 'hidden' ? 'style="display: none;"'|raw : col == 'blank' ? 'style="visibility: hidden;"'|raw : col not in iconstyles ? ('style="color: ' ~ col ~ '; fill: ' ~ col ~ '; str