{% macro tooltip(item, price=none) -%}
{{item.item_name}}VNUM {{item.vnum}}{% if item.count > 1 %}Ilość: {{item.count}}{% endif %}{% for stat in item.base_stats %}{{stat}}{% endfor %}{% if item.polymorph_target %}Przemienia w: {{item.polymorph_target}}{% endif %}{% for bonus in item.bonuses %}{{bonus}}{% endfor %}{% for stone in item.stones %}{{stone.name}}{% for bonus in stone.bonuses %}{{bonus}}{% endfor %}{% endfor %}{% if price is not none %}Cena: {{'{:,}'.format(price).replace(',', ' ')}} Yang{% endif %}
{%- endmacro %}