---
title: "Else ViewHelper <f:else>"
manual: "Fluid ViewHelper Reference"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3fluid-fluid-else@main"
source: "Global/Else.rst"
modified: "2026-09-17T05:12:06+00:00"
---

# Else ViewHelper `<f:else>`

Else-Branch of a condition. Only has an effect inside of `f:if`.
See the `f:if` ViewHelper for documentation.

Go to the source code of this ViewHelper: [ElseViewHelper.php (GitHub)](https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/ElseViewHelper.php).

## Arguments of the `<f:else>` ViewHelper

-   **if**

    -   *Type:* boolean

    Condition expression conforming to Fluid boolean rules
