.. include:: /Includes.rst.txt
.. _typo3fluid-fluid-section:
=======
section
=======
A ViewHelper to declare sections in templates for later use with e.g. the ``f:render`` ViewHelper.
Examples
========
Rendering sections
------------------
::
This is a section. {foo}
Output::
the content of the section "someSection". The content of the variable {someVariable} will be available in the partial as {foo}
Rendering recursive sections
----------------------------
::
Output::
- menu1
[...]
(depending on the value of {menu})
Arguments
=========
.. _section_name:
name
----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Name of the section