Aller au contenu

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

De Wreck
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>{| class="infobox" style="width: 300px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; line-height: 1.5em; border-spacing: 2px;"
{| class="infobox" style="width: 300px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; line-height: 1.5em; border-spacing: 2px;"
|-
|-
! colspan="2" style="background: #2596be; color: white; text-align: center; font-size: 125%; padding: 5px;" | {{{titre|{{PAGENAME}}}}}
! colspan="2" style="background: #2596be; color: white; text-align: center; font-size: 125%; padding: 5px;" | {{{titre|{{PAGENAME}}}}}
Ligne 6 : Ligne 5 :
| colspan="2" style="text-align: center;" | {{{image|}}}<br /><small>{{{legende|}}}</small>
| colspan="2" style="text-align: center;" | {{{image|}}}<br /><small>{{{legende|}}}</small>
|-
|-
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Single de {{{artiste}}}<br />extrait de l'album ''{{{album}}}''
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Single de {{{artiste|}}}<br />extrait de l'album ''{{{album|}}}''
|-
|-
! scope="row" style="text-align: left; width: 40%;" | Face B
! scope="row" style="text-align: left; width: 40%;" | Face B
Ligne 35 : Ligne 34 :
| {{{label|}}}
| {{{label|}}}
|-
|-
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Singles de {{{artiste}}}
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Singles de {{{artiste|}}}
|-
|-
| colspan="2" style="text-align: center;" |
| colspan="2" style="text-align: center;" |
Ligne 44 : Ligne 43 :
|}
|}
|-
|-
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Pistes de ''{{{album}}}''
! colspan="2" style="background: #2596be; color: white; text-align: center;" | Pistes de ''{{{album|}}}''
|-
|-
| colspan="2" style="text-align: center;" |
| colspan="2" style="text-align: center;" |
Ligne 52 : Ligne 51 :
| style="width: 33%; text-align: right;" | {{{piste_suivante|}}} →
| style="width: 33%; text-align: right;" | {{{piste_suivante|}}} →
|}
|}
|}
|}</includeonly><noinclude>
</includeonly><noinclude>


== Documentation du modèle ==
== Documentation ==
Ceci est la documentation pour l'Éditeur Visuel.
Utilisez ce modèle pour afficher une infobox de single ou d'album.


<templatedata>
<templatedata>
{
{
"params": {
"params": {
"titre": { "label": "Titre du single", "type": "string", "required": true },
"titre": { "label": "Titre", "type": "string", "required": true },
"artiste": { "label": "Artiste", "type": "string", "suggested": true },
"artiste": { "label": "Artiste", "type": "string" },
"album": { "label": "Album", "type": "string" },
"album": { "label": "Album", "type": "string" },
"image": { "label": "Image", "description": "Exemple: [[Fichier:Nom.jpg|250px]]", "type": "wiki-file-name" },
"image": { "label": "Image", "description": "Exemple: [[Fichier:Nom.jpg|250px]]", "type": "wiki-file-name" },
"legende": { "label": "Légende image", "type": "string" },
"face_b": { "label": "Face B", "type": "string" },
"face_b": { "label": "Face B", "type": "string" },
"sortie": { "label": "Date de sortie", "type": "string" },
"sortie": { "label": "Sortie", "type": "string" },
"enregistre": { "label": "Date d'enregistrement", "type": "string" },
"enregistre": { "label": "Enregistré", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
"genre": { "label": "Genre musical", "type": "string" },
"genre": { "label": "Genre", "type": "string" },
"format": { "label": "Format", "type": "string" },
"format": { "label": "Format", "type": "string" },
"auteur": { "label": "Auteur", "type": "string" },
"auteur": { "label": "Auteur", "type": "string" },

Version du 22 février 2026 à 00:50


Documentation

Utilisez ce modèle pour afficher une infobox de single ou d'album.

Infobox pour les singles musicaux.

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Titretitre

aucune description

Chaîneobligatoire
Artisteartiste

aucune description

Chaînefacultatif
Albumalbum

aucune description

Chaînefacultatif
Imageimage

Exemple: [[Fichier:Nom.jpg|250px]]

Fichierfacultatif
Légende imagelegende

aucune description

Chaînefacultatif
Face Bface_b

aucune description

Chaînefacultatif
Sortiesortie

aucune description

Chaînefacultatif
Enregistréenregistre

aucune description

Chaînefacultatif
Duréeduree

aucune description

Chaînefacultatif
Genregenre

aucune description

Chaînefacultatif
Formatformat

aucune description

Chaînefacultatif
Auteurauteur

aucune description

Chaînefacultatif
Producteurproducteur

aucune description

Chaînefacultatif
Labellabel

aucune description

Chaînefacultatif
Single précédentsingle_precedent

aucune description

Chaînefacultatif
Single suivantsingle_suivant

aucune description

Chaînefacultatif
Piste précédentepiste_precedente

aucune description

Chaînefacultatif
Piste suivantepiste_suivante

aucune description

Chaînefacultatif