<f:if condition="{variable} == 'bestimmterWert'">
<f:then>
// dann führe folgendes aus
</f:then>
<f:else if="{andereVariable} == 'bestimmterWert'">
// dann führe folgendes aus
</f:else>
<f:else>
// für den Rest führe folgendes aus..
</f:else>
</f:if>
{f:if(condition: '{ValueNameHere} == "Yes"', then: 'active')}
{f:if(condition: '{ValueNameHere} == 1', then: 'active', else: 'disable')}
{f:if(condition: '{f:cObject(typoscriptObjectPath: "lib.siteName")} == "edeka"', then: "edeka", else: "frischemarkt")}
<f:if condition="{data.uid} != 1 && {f:cObject(typoscriptObjectPath: 'lib.currentSite')} == 'safetykon'">
<f:comment>data.uid ist 1 und lib.currentSite ist safetykon</f:comment>
</f:if>
{f:if(condition:'{item.image} || {item.alternativeImage}', then:'…')}
<f:if condition="{0:data.uid} == {0:'1'}">
<h1>Ich bin die Seiten-ID 1</h1>
</f:if>
<f:if condition="{data.uid} == 1">
Funktioniert ebenfalls
</f:if>
<f:if condition="{f:cObject(typoscriptObjectPath: 'lib.languageCode')} == 'de'">
<a class="navbar-brand" href="/">
</f:if>
<f:if condition="{data.sys_language_uid} == 0">
// Irgendwas
</f:if>