Modèle:Index

De Pl@ntUse
Aller à la navigation Aller à la recherche


Ce modèle permet de creer rapidement un index numerique pour un ouvrage

Paramètres

  • ouvrage = nom de l'ouvrage (obligatoire)
  • auteur = nom de l'auteur (obligatoire)
  • parties = nombre de parties dans le livre (facultatif)
  • chapPX = nombre de chapitres de la partie X ou de l'ensemble de l'ouvrage si il n'est pas subdivisé en parties (obligatoire)
  • ajouter autant de variables chapPX qu'il y a de parties dans l'ouvrage (si l'ouvrage a 3 parties il faut 3 parametres chapP1, chapP2 et chapP3); uniquement chapP1 si il n'y a pas de division en parties.

Exemples

{{index |auteur = Test |parties = 3 |chapP1 = 4 |chapP2 = 6 |chapP3 = 4 }} donnera :

Partie 1

Chapitre 1
Chapitre 2
Chapitre 3
Chapitre 4

Partie 2

Chapitre 1
Chapitre 2
Chapitre 3
Chapitre 4
Chapitre 5
Chapitre 6

Partie 3

Chapitre 1
Chapitre 2
Chapitre 3
Chapitre 4
_____

de plus la page sera automatiquement ajouté aux catégories adequates (nom de l'ouvrage et nom de l'auteur)

{{#if:|

Partie


  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
  • [Index/Chapitre1
Le nombre maximal de boucles a été effectué
Le nombre maximal de boucles a été effectué

|

Le nombre maximal de boucles a été effectué

[[catégorie:{{{auteur}}}]]