$nav.children

is a sequential collection of navigational elements that shows only the children of the current section.

see also {foreach}, {if}{else}{/if}, {include}.

Sample Usage: (e.g. sidemenu.tpl)

<ul>
{foreach item="navigational_element" from=$nav.children}

<li>
<a href="{$navigational_element.link}index.php">
{$navigational_element.title}
</a>
</li>

{/foreach}
</ul>

HTML Source Output

<ul>
<li><a href="../../../Documentation/Web.Designer/
Navigation.Element/Sitemap/index.php">$sitemap</a></li>
<li><a href="../../../Documentation/Web.Designer/
Navigation.Element/Navigation/index.php">$nav</a></li>

</ul>
Note: Some of the source output has been condensed for the sake of clarity in this html document.

Browser Output