Custom or complex nav tag Is it possible to build something like this with a structure and the {% nav %} tag?

     &lt;ul class="nav navbar-nav"&gt;
       &lt;li class="dropdown"&gt;
         &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Dropdown&lt;/a&gt;
         &lt;ul class="dropdown-menu"&gt;
           &lt;li&gt;
               &lt;div class="yamm-content"&gt;
                  &lt;div class="row"&gt; 
                    ...
           &lt;/li&gt;
         &lt;/ul&gt;
       &lt;/li&gt;
     &lt;/ul&gt;


This is my code for now:

{% set entries = craft.entries.section('pagina') %}
   &lt;ul class="nav navbar-nav"&gt;
      {% nav entry in entries %}
         &lt;li {{ activeClass(entry.slug) }} {% if entry.hasDescendants() %}class="dropdown yamm-fw"{% endif %}&gt;     
            &lt;a href="#" {% if entry.hasDescendants() %}dropdown-toggle{% endif %}" {% if entry.hasDescendants() %}data-toggle="dropdown"{% endif %}&gt;{{ entry.title }}&lt;/a&gt;

            {% ifchildren %}
               &lt;ul class="dropdown-menu"&gt;
                  {% children %}
               &lt;/ul&gt;
            {% endifchildren %}
         &lt;/li&gt;
      {% endnav %}
   &lt;/ul&gt;


The problem is, i need custom html inside the children
You'll want to make use of the level property of your entry...

{% if entry.level == 1 %}
    &lt;!-- Top Level Links --&gt;
{% else %}
    &lt;!-- Child Links --&gt;
{% endif %}