${header}
{if parent ~= nil and parent.parent == nil then
print([[
${opts.title}
${opts.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 icon = 'folder'
if item.view3D or item.portal3D == false then icon = 'play' end
print([[
]])
end
end}
${footer}