---+ ENDSECTION -- marks the end of a named section within a topic If the =STARTSECTION= is named, the corresponding =ENDSECTION= must also be named with the same name. If the =STARTSECTION= specifies a type, then the corresponding =ENDSECTION= must also specify the same type. If the section is unnamed, =ENDSECTION= will match with the nearest unnamed =%<nop>STARTSECTION%= *of the same type* above it. ---++ Parameters %TABLE{sort="off"}% | *Parameter* | *Description* | *Default* | | ="name"= | Name of the section | | | =type= | Type of the section being terminated; supported types =section=, =include=, =expandvariables=, =templateonly=. | =section= | ---++ Examples * =%<nop>ENDSECTION{"X" type="expandvariables"}%= %STOPINCLUDE% ---++ Related [[VarSTARTSECTION][STARTSECTION]]
This topic: System
>
Category
>
UserDocumentationCategory
>
Macros
>
VarENDSECTION
Topic revision:
15 Mar 2026,
UnknownUser
(raw view)
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback