**SPIP**
# Article submitted
The article "**{profondeur}**
(https://www.spip.net/ecrire/?exec=article&id_article=6549)" is submitted
for publication. on Wednesday 13 May 2020.
* * *
## {profondeur}
Wednesday 13 May 2020 , by [jack](.././?page=auteur&id_auteur=593&)
`{profondeur=3}`: allows you to select the sections on the 3rd level
(sector section types are level 0, then the sections underneath are level 1
etc.).
A RUBRIQUES loop (https://www.spip.net/ecrire/?exec=article&id_article=904)
with the criterion `{profondeur=0}` will give the same result as `{racine}`
or `{id_parent=0}`
An example of use is, in a multilingual site organized by sectors (each
language corresponds to a root section of the site), to create a navigation
menu:
<BOUCLE_exemple
(RUBRIQUES)
{lang}
{profondeur=1}
>
<a href="
#URL_RUBRIQUE
">
#TITRE
</a>
</BOUCLE_exemple>
With the tree structure below:
* French Root A section
* Sub-section A1
* Sub-section A2
* English Root B heading
* Sub-section B1
* Sub-section B2
The *Root A section* is a sector, so has a depth of 0. *Sub-section
A1*corresponds to depth 1.
The example loop will therefore return, if we are on an English page:
- Sub-section B1
- Sub-section B2
— Sent by SPIP (https://www.spip.net/)

![]()