« Modèle:Infobox/Titre/Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
|||
| Ligne 18 : | Ligne 18 : | ||
== Exemple == | == Exemple == | ||
=== Exemple simple === | |||
{{Infobox/Début}} | {{Infobox/Début}} | ||
{{Infobox/Titre|Votre titre ici | {{Infobox/Titre|Votre titre ici|#80B0E0|entete map}} | ||
{{Infobox/Fin}} | {{Infobox/Fin}} | ||
<pre> | <pre> | ||
{{Infobox/Début}} | {{Infobox/Début}} | ||
{{Infobox/Titre|Votre titre ici | {{Infobox/Titre|Votre titre ici|#80B0E0|entete map}} | ||
{{Infobox/Fin}} | |||
</pre> | |||
{{clr}} | |||
=== Exemple au sein d'un modèle === | |||
<pre> | |||
{{Infobox/Début}} | |||
{{Infobox/Titre|{{{nom|{{PAGENAME}}}}}|#E1E1E1|entete defaut}} | |||
{{Infobox/Fin}} | {{Infobox/Fin}} | ||
</pre> | </pre> | ||
Version du 27 août 2009 à 21:16
Modèle:Documentation modèle vue directement
Ce modèle permet de réaliser une infobox V2 à partir de briques. La brique {{Infobox/Titre}} sert à ajouter un titre dans la partie supérieure d'une infobox.
Syntaxe
Copiez et collez ceci dans la page du modèle d'infobox.
{{Infobox/Début}}
{{Infobox/Titre|titre|couleur|entête}}
{{Infobox/Fin}}
Paramètre
- Paramètre 1 : Il sert à ajouter un titre à l'infobox comme par exemple : {{Infobox/Titre|Votre titre ici...}}
- Paramètre 2 : Il sert à modifier la couleur de fond du titre de l'infobox comme par exemple : {{Infobox/Titre|Votre titre ici...|#80B0E0}}
- Paramètre 3 : Il sert à ajouter un pictogramme d'entête dans le titre de l'infobox comme par exemple : {{Infobox/Titre|Votre titre ici...|#80B0E0|entete map}}
Exemple
Exemple simple
| Votre titre ici |
{{Infobox/Début}}
{{Infobox/Titre|Votre titre ici|#80B0E0|entete map}}
{{Infobox/Fin}}
Exemple au sein d'un modèle
{{Infobox/Début}}
{{Infobox/Titre|{{{nom|{{PAGENAME}}}}}|#E1E1E1|entete defaut}}
{{Infobox/Fin}}