Rendersa zone. See
.
in all parameters.
header
and
footer
are
not output if there is no content in the
zone (nothing has been
ADDTOZONEd
). However they
are output if the
output is the empty string (at least one
ADDTOZONE
has been processed).
![HELP HELP](../../../pub/System/DocumentGraphics/help.png)
Zones are cleared after being rendered; they are only ever rendered once.
head
and
script
are
automatic zones. They don't require a
corresponding
RENDERZONE
anywhere in the templates - they are
automatically inserted before the
</head>
tag in the output HTML
page.
![HELP HELP](../../../pub/System/DocumentGraphics/help.png)
Macros will be expanded in all zones. TML markup will not be expanded
in the
head
and
scripts
zones. Any formatting in
head
and
scripts
zones
including [[TML links]] must be done directly using HTML. TML pseudo-tags like
nop
.
verbatim
,
literal
. and
noautolink
are removed from
head
and
script
zones
and have no influence on the markup. All other zones will be rendered as normal topic text.
![HELP HELP](../../../pub/System/DocumentGraphics/help.png)
Normally, dependencies between individual
ADDTOZONE
statements are
resolved within each zone. However, if
{MergeHeadAndScriptZones}
is
enabled in
configure, then
head
content which requires an
id
that only exists in
script
will be re-ordered
to satisfy this dependency.
{MergeHeadAndScriptZones}
will be
removed from a future version of Foswiki.