For faster navigation, this Iframe is preloading the Wikiwand page for Modèle:Infobox/Titre avec icône.

Modèle:Infobox/Titre avec icône

 Documentation[voir] [modifier] [historique] [purger]

Ce méta-modèle ne doit pas être utilisé directement dans l’espace principal (articles, catégories, etc.). Ce modèle générique paramétré est destiné uniquement à la construction d’autres modèles.

Ce modèle permet de réaliser une infobox V2 à partir de briques. La brique ((Infobox/Titre avec icône)) 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 avec icône|titre|couleur fond|icône|Couleur texte|Valeur colspan))
((Infobox/Fin))

Paramètres

  • Paramètre 1 : Il sert à ajouter un titre à l'infobox comme par exemple :
    ((Infobox/Titre avec icône|Votre titre ici...))
  • Paramètre 2 : Il sert à modifier la couleur de fond du titre de l'infobox comme par exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0))
    Par défaut la couleur du fond est grise, #E1E1E1.
  • Paramètre 3 : Il sert à ajouter un pictogramme d'entête dans le titre de l'infobox comme par exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0|Icone.svg))
  • Paramètre 4 : Il sert à modifier la couleur du texte du titre de l'infobox comme par exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0|Icone.svg|FFFFFF))
    Par défaut la couleur du texte est noire, #000000.
  • Paramètre 5 : Il sert à modifier la valeur du colspan du titre, comme par exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0|Icone.svg|FFFFFF|3))
    Par défaut la valeur du colspan est de 2.
  • pas de lien : Pour les icône qui sont dans le domaine public, cela permet de ne pas faire de lien vers la page du fichier. Exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0|Icone.svg|pas de lien=1))
    Une valeur quelconque désactive le lien.
  • alternative icône : Permet d'ajouter une brève alternative textuelle à l'icône. Ce texte doit être bref et minimaliste. Si il n'y a pas de lien (pas de lien=1), il ne faut pas mettre d'alternative textuelle. Exemple :
    ((Infobox/Titre avec icône|Votre titre ici...|80B0E0|Icone.svg|alternative icône=icône de baladeur))
  • classe icône : Permet d'ajouter une classe HTML à l'icône, principalement skin-invert-image pour l'inversion des couleurs en mode sombre.

Exemple

Exemple simple

Votre titre
((Infobox/Début))
((Infobox/Titre avec icône|Votre titre||45 rpm record.png|pas de lien=1))
((Infobox/Fin))

Exemple au sein d'un modèle

Infobox/Titre avec icône
icône d'un ipod
((Infobox/Début))
((Infobox/Titre avec icône
 | (({nom|((PAGENAME))))}|80B0E0|Nuvola devices ipod.png|FFFFFF|alternative icône = icône d'un ipod
))
((Infobox/Fin))

Voir aussi

{{bottomLinkPreText}} {{bottomLinkText}}
Modèle:Infobox/Titre avec icône
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?