d 20 lines max.
  */
{% macro extpopup(id, line1, line2, line3, line4, line5, line6, line7, line8, line9, line10, line11, line12, line13, line14, line15, line16, line17, line18, line19, line20) %}
  {% import "@widgets/basic.html" as basic %}
  {% import "@widgets/device.html" as device %}
  {% import "@widgets/plot.html" as plot %}
  {% set elements = {} %}
  {% set class = '' %}
  {% for linenumber in 1..20 %}
      {% for key,type in _context['line' ~ linenumber]  %}
        {% if type == 'uzsugraph' %}
