plode(max|default(colormodel == 'hsl' or colormodel == 'hsv' ? [360,100,100] : 255)) }}"
			data-step="{{ steps|default(7) }}" data-colors="{{ colors|default(10) }}"
			class="colordisc"><span></span></a>
	{% endif %}
{% endmacro %}


/**
* Displays a flip-switch
*
* @param {id=} unique id for this widget (optional)
* @param {item(bool,num,str)} an item
* @param {text=On} text for the 'on' state (optional, default 'On')
* @param {text=Off} text for the 'off' state (optional, default 'Off')
* @param {text=1}