Using template layouts for listview

Different template layouts can be configured in Page TSConfig.:

tx_plainfaq_pi1.templateLayouts {
  1 = 2 column layout
  2 = FAQ-Slider
}

This TypoScript above defines 2 new template layouts, which will appear in the template layout selectbox in the plugin settings like shown below.

Different template layouts

The choosen template layout can be used in the fluid templates as shown below.:

<f:if condition="{settings.templateLayout} == 1">
  <f:render partial="List/Faq-Slider" arguments="{faqItem: faq, settings:settings}"/>
</f:if>