Différences entre les versions de « Documentation module:Navigation »
Aller à la navigation
Aller à la recherche
Ligne 13 : | Ligne 13 : | ||
== Exemples == | == Exemples == | ||
=== | === Navigation simple === | ||
<pre>{{#invoke:Navigation|build | <pre>{{#invoke:Navigation|build | ||
| classes = Classes optionnelles | | classes = Classes optionnelles | ||
Ligne 25 : | Ligne 25 : | ||
}}</pre> | }}</pre> | ||
{{#invoke: | {{#invoke:Navigation|build | ||
| titre = Titre | | titre = Titre | ||
| Section #1 | | Section #1 | ||
Ligne 37 : | Ligne 37 : | ||
}} | }} | ||
=== | === Nvigations imbriquées === | ||
<pre>{{#invoke: | <pre>{{#invoke:Navigation|build | ||
| titre = Titre | | titre = Titre | ||
| Section #1 | | Section #1 | ||
| {{#invoke: | | {{#invoke:Navigation|build | ||
| Section #1.1 | | Section #1.1 | ||
| Contenu #1.1 | | Contenu #1.1 | ||
Ligne 48 : | Ligne 48 : | ||
}} | }} | ||
| Section #2 | | Section #2 | ||
| {{#invoke: | | {{#invoke:Navigation|build | ||
| titre = Titre imbriquée | | titre = Titre imbriquée | ||
| Section #1.1 | | Section #1.1 | ||
Ligne 61 : | Ligne 61 : | ||
}}</pre> | }}</pre> | ||
{{#invoke: | {{#invoke:Navigation|build | ||
| titre = Titre | | titre = Titre | ||
| Section #1 | | Section #1 | ||
| {{#invoke: | | {{#invoke:Navigation|build | ||
| Section #1.1 | | Section #1.1 | ||
| Contenu #1.1 | | Contenu #1.1 | ||
Ligne 71 : | Ligne 71 : | ||
}} | }} | ||
| Section #2 | | Section #2 | ||
| {{#invoke: | | {{#invoke:Navigation|build | ||
| titre = Titre imbriquée | | titre = Titre imbriquée | ||
| Section #1.1 | | Section #1.1 |
Version actuelle datée du 2 décembre 2021 à 21:54
Le module Module:Navigation facilite la création de palette de navigation.
Syntaxe
{{#invoke:Navigation|build | classes = Classes optionnelles | titre = Titre optionnel de la palette | Titre de la première section | Contenu de la première section | ... | Titre de la dernière section | Contenu de la dernière section }}
Exemples
{{#invoke:Navigation|build | classes = Classes optionnelles | titre = Titre | Section #1 | Contenu #1 | Section #2 | Contenu #2 | Section #3 | Contenu #3 }}
Titre | |
---|---|
Section #1 | Contenu #1 |
Section #2 | Contenu #2 |
Section #3 | Contenu #3 |
Section #4 | Contenu #4 |
Nvigations imbriquées
{{#invoke:Navigation|build | titre = Titre | Section #1 | {{#invoke:Navigation|build | Section #1.1 | Contenu #1.1 | Section #1.2 | Contenu #1.2 }} | Section #2 | {{#invoke:Navigation|build | titre = Titre imbriquée | Section #1.1 | Contenu #1.1 | Section #2.2 | Contenu #2.2 }} | Section #3 | Contenu #3 | Section #4 | Contenu #4 }}
Titre | |||||||
---|---|---|---|---|---|---|---|
Section #1 |
| ||||||
Section #2 |
| ||||||
Section #3 | Contenu #3 | ||||||
Section #4 | Contenu #4 |