<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="html.sidebar.sections">
 <info>
  <link type="guide" xref="html" group="templates"/>
  <link type="guide" xref="templates" group="html"/>
  <desc>Output a list of sections for a sidebar.</desc>
  <revision version="3.30" date="2018-06-10" status="candidate"/>
 </info>
 <title>html.sidebar.sections</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>The node a sidebar is being created for.</p>
   </item>
   <item>
    <title><code>$side</code></title>
    <p>Which sidebar, either <sys>left</sys> or <sys>right</sys>.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template creates a list of sections on the current page for a sidebar.
 It applies <code xref="html.sidebar.sections.mode">html.sidebar.sections.mode</code> to <code>$node</code>, passing <code>$side</code> as a
 parameter, to allow individual input formats to implement sections lists.</p>
 <p>This named template also implements <code xref="html.sidebar.mode">html.sidebar.mode</code> on the <sys>sections</sys>
 token. See <code xref="html.sidebar">html.sidebar</code> for more information on how sidebars are created.</p>
 <list style="compact">
  <title>Calls Modes</title>
  <item>
   <p><link xref="html.sidebar.sections.mode"/></p>
  </item>
 </list>
</page>
