wiki-archive/twiki/data/TWiki/VarENDSECTION.txt

15 lines
934 B
Plaintext

%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarENDSECTION
---+++ ENDSECTION{"name"} -- marks the end of a named section within a topic
* Syntax: =%<nop>ENDSECTION{"name"}%=
* Syntax: =%<nop>ENDSECTION{type="include"}%=
* Supported parameter:
| *Parameter:* | *Description:* |
| ="name"= | Name of the section. |
| =type="..."= | Type of the section being terminated; supported types ="section"=, ="include"=, ="templateonly"=. |
* 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.
* Related: [[#VarSTARTSECTION][STARTSECTION]]