OR-Code (H/W: {{label_height}} x {{label_width}}) {% if title %} - {{title}}{% endif %}
{# Only Text label #} {% if with_text is True and with_qr is False %}
{{text|safe|escape}}
{% endif %} {# Text and QR-Code #} {% if with_text is True and with_qr is True %} {# Horizontal label #} {% if text_location == "right" or text_location == "left" %} {% if text_location == "right" %} {% endif %} {% if text_location == "left" %} {% endif %}
{% include "netbox_qrcode/qrcode3_sub_qrcode.html" %}
{{text|safe|escape}}
{% include "netbox_qrcode/qrcode3_sub_qrcode.html" %}
{% endif %} {# Vertical label #} {% if with_qr and text_location == "up" or text_location == "down" %} {% if text_location == "down" %} {% endif %} {% if text_location == "up" %} {% endif %}
{% include "netbox_qrcode/qrcode3_sub_qrcode.html" %}
{{text|safe|escape}}
{% include "netbox_qrcode/qrcode3_sub_qrcode.html" %}
{% endif %} {% endif %} {# Only QR-Code label #} {% if with_text is False and with_qr is True %}
{% include "netbox_qrcode/qrcode3_sub_qrcode.html" %}
{% endif %}