%[if %("%id=placement%" == "freestyle")%]%
%[endif]% %[if %("%id=placement%" == "extracontent")%]%
%[endif]%
%[if %("%id=switcher_type%" == "tabbed-layout")% ]%
    %[if %("%id=tab_position%" == "top")% ]%
      %[endif]% %[if %("%id=tab_position%" == "left")% ]%
        %[endif]% %[if %("%id=tab_position%" == "right")% ]%
          %[endif]%
          %[if %("%id=tab_position%" == "bottom")% ]%
            %[endif]%
          %[endif]%
            %slice -addTypes="com.stacks4stacks.stacks.switcheritem"%
          %[if %("%id=placement%" == "extracontent")%]%
          %[endif]% %[if %("%id=placement%" == "freestyle")%]%
          %[endif]%