<f:if>

<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>

Inline-conditions

{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")}

AND

<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>

OR

{f:if(condition:'{item.image} || {item.alternativeImage}', then:'…')}

Page ID

<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>

typoscriptObjectPath

<f:if condition="{f:cObject(typoscriptObjectPath: 'lib.languageCode')} == 'de'">
  <a class="navbar-brand" href="/">
</f:if>

sys_language_uid

<f:if condition="{data.sys_language_uid} == 0">
	// Irgendwas
</f:if>