+++ /dev/null
-# <a name="Hierarchical Navigation"></a><a name=" Hierarchical Navigation"></a> Hierarchical Navigation
-
-**Navigation block that displays the current topic, its parent and children (if any).** %BR% This is intended to be included in other topics, for example in a side navigation bar ([[WebLeftBar]]).
-
-_NOTE: The lookup for parent and children will increase the loading time of your pages._
-
-<div>
- <ul>
- <li><a href="#Usage"> Usage</a><ul>
- <li><a href="#Displaying the Parent - Current"> Displaying the Parent - Current - Children block</a></li>
- <li><a href="#Displaying child topics"> Displaying child topics</a></li>
- </ul>
- </li>
- </ul>
-</div>
-
-## <a name="Usage"></a> Usage
-
-Two sections are defined:
-
-- `all`
-- `children`
-
-### <a name="Displaying the Parent - Current"></a><a name="Displaying the Parent - Current "></a> Displaying the Parent - Current - Children block
-
-> %INCLUDE{"%SYSTEMWEB%.HierarchicalNavigation" section="all"}%
-
-generates:
-
-When included in [[WebLeftBar]] (using default Pattern skin) this is styled to:
-
-<div id="patternLeftBarContents">
- <p>
- </p>
-</div>
-
-### <a name="Displaying child topics"></a> Displaying child topics
-
-> *Child topics:*
-> %INCLUDE{"%SYSTEMWEB%.HierarchicalNavigation" section="children"}%
-
-generates:
-
-**Child topics:**
-
-When included in [[WebLeftBar]] (using default Pattern skin) this is styled to:
-
-<div id="patternLeftBarContents">
- <p>
- </p>
-</div>
-
- %STARTSECTION{name="all"}%<div class="twikiHierarchicalNavigation">
- <ul>
- %SEARCH{
- "parent"
- type="query"
- topic="%BASETOPIC%"
- web="%BASEWEB%"
- nonoise="on"
- format="<li class='twikiParentTopic'><img src='%ICONURL{parent_gray}%' width='16' height='16' alt='' border='0' /> [[$web.$parent][$parent]]</li>"
- }%
- <li class='twikiCurrentTopic' style='font-weight:bold;'><nop>%BASETOPIC%</li>%INCLUDE{"%TOPIC%" section="childlist"}%
- </ul>
- </div><!--/twikiHierarchicalNavigation-->%ENDSECTION{name="all"}%
-
- %STARTSECTION{name="children"}%<div class="twikiHierarchicalNavigation">
- <ul>%INCLUDE{"%TOPIC%" section="childlist"}%</ul>
- </div><!--/twikiHierarchicalNavigation-->%ENDSECTION{name="children"}%</div>%ENDSECTION{name="children"}%
-
- %STARTSECTION{name="childlist"}%%SEARCH{
- "parent.name='%BASETOPIC%'"
- web="%BASEWEB%"
- type="query"
- nonoise="on"
- format="<li class='childTopic'><img src='%ICONURL{line_ur_gray}%' width='16' height='16' alt='' border='0' /> [[$web.$topic][$topic]]</li>"
- }%%ENDSECTION{name="childlist"}%