Add note about DNS SRV records
[openafs-wiki.git] / TWiki / VarENDSECTION.mdwn
1 <a name="VarENDSECTION"></a>
2
3 ### <a name="ENDSECTION{&quot;name&quot;} -- marks the"></a><a name="ENDSECTION{&quot;name&quot;} -- marks the "></a> ENDSECTION\{"name"\} -- marks the end of a named section within a topic
4
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">
10   <tr>
11     <th bgcolor="#99CCCC"><strong> Parameter: </strong></th>
12     <th bgcolor="#99CCCC"><strong> Description: </strong></th>
13   </tr>
14   <tr>
15     <td><code>"name"</code></td>
16     <td> Name of the section. </td>
17   </tr>
18   <tr>
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>
21   </tr>
22 </table>
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]]