« Modèle:Indexation » : différence entre les versions

De Oniropædia
Aller à la navigationAller à la recherche
m (correction 3)
m (recodification avec la fonction #foreach)
 
(6 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 10 : Ligne 10 :
<!-- Début de la Section spécifique à l'implémentation de la catégorisation des pages -->
<!-- Début de la Section spécifique à l'implémentation de la catégorisation des pages -->
<!-- ================================================================================ -->
<!-- ================================================================================ -->
#if:{{{1|}}}|[[Catégorie:{{{1}}}|{{
#ifeq:{{{index|}}}|
Désaccentuation|{{
|{{
Configuration indexation dans catégories
#if:{{{1|}}}
|{{#foreach: $n$|[[Catégorie:{{{$n$}}}|{{
#accents2ascii2lower:{{
Catégorisation/Catégorisation/Module de base/Indexation dans catégorie/Configuration
|catégorie={{{$n$}}}
}}
}}]]{{-}}}}
|{{
#if:{{NAMESPACE}}
|
|[[Catégorie:Page à catégoriser|{{
#accents2ascii2lower:{{
Catégorisation/Catégorisation/Module de base/Indexation dans catégorie/Configuration
|catégorie=Page à catégoriser
}}
}}]]
}}
}}
|{{
#if:{{{1|}}}
|{{#foreach: $n$|[[Catégorie:{{{$n$}}}|{{
#accents2ascii2lower:{{
Catégorisation/Catégorisation/Module de base/Indexation dans catégorie/Configuration
|index={{{index}}}
|index={{{index}}}
|catégorie={{{1}}}
|catégorie={{{1}}}
}}
}}
}}]]
}}]]{{-}}}}
|{{
|{{
#if:{{NAMESPACE}}
#if:{{NAMESPACE}}
|
|
|[[Catégorie:Page à catégoriser]]
|[[Catégorie:Page à catégoriser|{{
#accents2ascii2lower:{{
Catégorisation/Catégorisation/Module de base/Indexation dans catégorie/Configuration
|index={{{index}}}
|catégorie=Page à catégoriser
}}
}}]]
}}
}}
}}
}}{{-}}{{
#if:{{{2|}}}|[[Catégorie:{{{2}}}|{{
Désaccentuation|{{
Configuration indexation dans catégories
|index={{{index}}}
|catégorie={{{2}}}
}}
}}]]
}}{{-}}{{
#if:{{{3|}}}|[[Catégorie:{{{3}}}|{{
Désaccentuation|{{
Configuration indexation dans catégories
|index={{{index}}}
|catégorie={{{3}}}
}}
}}]]
}}{{-}}{{
#if:{{{4|}}}|[[Catégorie:{{{4}}}|{{
Désaccentuation|{{
Configuration indexation dans catégories
|index={{{index}}}
|catégorie={{{4}}}
}}
}}]]
}}{{-}}{{
#if:{{{5|}}}|[[Catégorie:{{{5}}}|{{
Désaccentuation|{{
Configuration indexation dans catégories
|index={{{index}}}
|catégorie={{{5}}}
}}
}}]]
<!-- ================================================================================ -->
<!-- ================================================================================ -->
}}<!-- Fin de la section spécifique à l'implémentation de la catégorisation des pages -->
}}<!-- Fin de la section spécifique à l'implémentation de la catégorisation des pages -->

Dernière version du 5 novembre 2008 à 09:56


La syntaxe et l’éventuel exemple de l’utilisation de ce modèle sont situés sur sa page de discussion. Vous pouvez néanmoins ajouter des questions et commentaires à la suite de l’aide.