data/TWiki/VarENDSECTION.txt
author Colas Nahaboo <colas@nahaboo.net>
Mon, 11 Aug 2008 20:33:37 +0200
changeset 2 7bc60a767fa4
parent 0 414e01d06fd5
permissions -rw-r--r--
TWiki-4.2.2 Release
     1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
     2 %META:TOPICPARENT{name="TWikiVariables"}%
     3 #VarENDSECTION
     4 ---+++ ENDSECTION{"name"} -- marks the end of a named section within a topic
     5    * Syntax: =%<nop>ENDSECTION{"name"}%=
     6    * Syntax: =%<nop>ENDSECTION{type="include"}%=
     7    * Supported parameter:
     8      | *Parameter:* | *Description:* |
     9      | ="name"= | Name of the section. |
    10      | =type="..."= | Type of the section being terminated; supported types ="section"=, ="include"=, ="templateonly"=. |
    11    * 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. 
    12    * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSTARTSECTION][STARTSECTION]]
    13