Modèle:Information : Différence entre versions
(correction indexation) |
(correction indexation (bis)) |
||
Ligne 35 : | Ligne 35 : | ||
|} | |} | ||
− | {{Indexation|Illustration|{{ | + | {{Indexation|Illustration|{{#explode: {{{Catégorisation|Images diverses}}} |,|0}} }} |
− | + | {{#if: {{#explode:{{{Catégorisation|}}}|,|1}} | {{Indexation|{{#explode:{{{Catégorisation|}}}|,|1}} }} | }} | |
− | + | {{#if: {{#explode:{{{Catégorisation|}}}|,|2}} | {{Indexation|{{#explode:{{{Catégorisation|}}}|,|2}} }} | }} | |
− | + | {{#if: {{#explode:{{{Catégorisation|}}}|,|3}} | {{Indexation|{{#explode:{{{Catégorisation|}}}|,|3}} }} | }} | |
− | + | <!-- Ancienne façon d'indexation (boguée) : | |
{{Indexation|Illustration|{{ | {{Indexation|Illustration|{{ | ||
#ifexpr: {{#rpos:{{{Catégorisation|}}}|,}} > 0 | #ifexpr: {{#rpos:{{{Catégorisation|}}}|,}} > 0 |
Version du 15 novembre 2008 à 00:59
Description |
{{{Description}}} |
---|---|
Source |
{{{Source}}} |
Date |
{{{Date}}} |
Auteurs |
{{{Auteurs}}} |
Licence |
{{{Licences}}} |
Catégories |
Illustration,{{{Catégorisation}}} ({{{Catégorisation}}}='Images diverses' par défaut) |
Le champ {{{Catégorisation}}} peut supporter jusqu'à 4 noms de catégorie. Ils doivent alors être séparés par des virgules (,).
Si vous voulez augmenter le nombre de catégories incluant votre image, il faudra les inclure en dehors du modèle. Cela pourra être fait à l'aide du modèle {{Indexation}}
ATTENTION : par défaut l'image sera insérée dans Images diverses (sous-catégorie) si le champs Catégorisation n'est pas renseigné/défini.
NOTA : toutes les images sont systématiquement insérées dans Illustration (catégorie).
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.