ViewHelper: Argument
TYPO3
Show in appBeschreibung
The `<f:argument>` ViewHelper defines required and optional variables in Fluid templates or partials. It enforces existence and type constraints at render time, providing clear documentation and reducing runtime errors.
Ziele
- I know how to declare required and optional arguments in a Fluid template using `<f:argument>`.
- I understand the implications of type constraints and default values for template arguments.
- I know that `<f:argument>` must be used at the top level of templates and cannot include dynamic expressions.
- I can identify rendering issues caused by missing or wrongly typed arguments in templates.
Maintainer

Oliver Thiele
Web Development Oliver Thiele