${header} {if parent ~= nil and parent.parent == nil then print([[

${opts.title}


${opts.plugin_global_subtitle}

]]) end} {if parent ~= nil and parent.parent ~= nil then print([[

// ${parent.name}

]]) end}
{if items then for i=1,#items do local item = items[i] local visible = item.view2D == nil or (item.view2D ~= nil and item.view2D ~= false) if visible then local icon = 'list-tree' local thumbnail = '' if #item.thumbnail > 0 then thumbnail = 'style="background-image: url(' .. EscapeFragment( util.stripPath(item.thumbnail) ) .. ');"' end if item.view3D or item.portal3D == false then icon = 'play' end print([[
]]) end end end} {if itemsremote then for i=1,#itemsremote do local item = itemsremote[i] local icon = 'link' local thumbnail = '' if #item.thumbnail > 0 then thumbnail = 'style="background-image: url(' .. EscapeFragment( util.stripPath(item.thumbnail) ) .. ');"' end if item.view3D or item.portal3D == false then icon = 'play' end print([[
]]) end end}
${footer}