1 <a name="VarENDSECTION"></a>
3 ### <a name="ENDSECTION{"name"} -- marks the"></a><a name="ENDSECTION{"name"} -- marks the "></a> ENDSECTION\{"name"\} -- marks the end of a named section within a topic
5 - Syntax: `%ENDSECTION{"name"}%`
6 - Syntax: `%ENDSECTION{type="include"}%`
7 - Syntax: `%ENDSECTION{type="templateonly"}%`
8 - Syntax: `%ENDSECTION{type="expandvariables"}%`
9 - Supported parameter: <table border="1" cellpadding="0" cellspacing="0">
11 <th bgcolor="#99CCCC"><strong> Parameter: </strong></th>
12 <th bgcolor="#99CCCC"><strong> Description: </strong></th>
15 <td><code>"name"</code></td>
16 <td> Name of the section. </td>
19 <td><code>type="..."</code></td>
20 <td> Type of the section being terminated; supported types <code>"section"</code>, <code>"include"</code>, <code>"templateonly"</code>, <code>"expandvariables"</code></td>
23 - 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 `%STARTSECTION%` **of the same type** above it.
24 - Related: [[STARTSECTION|Main/VarSTARTSECTION]]