author Stefan Widmer
*/
{% macro icon(pic, color, item, type) %}
	{% set iconstyles = ['icon0', 'icon1', 'icon2', 'icon3', 'icon4', 'icon5'] %}
	{% set iconF = 'icons/ws/' %}
	{% set colormodels = ['rgb','hsl','hsv','hex'] %}
	{% set noembed = 0 %} {% if pic|trim|slice(-3,3) == '/ne' %} {% set noembed = "1" %} {% set pic = pic|trim|slice(0,-3) %} {% endif %}
	{% if type not in ['micro','mini','midi'] %} {% set type = '' %} {% else %} {% set uitype = 'ui-'~type %} {% endif %}
	
	{% if pic|trim|slice(0, 1) !=