Aller au contenu

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

De Wreck
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<aside class="infobox" style="width: 100%; max-width: 320px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #d1d5db; border-radius: 12px; background: #ffffff; font-size: 14px; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08);">
<aside class="infobox" style="width: 100%; max-width: 320px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #ced4da; border-radius: 8px; background: #ffffff; font-size: 0.9em; line-height: 1.5; font-family: sans-serif; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">


   <div style="background: linear-gradient(135deg, #2596be 0%, #1a6d8a 100%); color: white; padding: 16px; text-align: center;">
   <div style="background: #e9ecef; color: #212529; padding: 10px; text-align: center; border-bottom: 1px solid #ced4da;">
     <div style="font-weight: 800; font-size: 1.3em; letter-spacing: 0.5px; text-transform: uppercase;">{{{titre}}}</div>
     <div style="font-weight: bold; font-size: 1.2em; font-style: italic;">{{{titre}}}</div>
    <div style="opacity: 0.9; font-size: 0.9em; margin-top: 4px; font-weight: 500;">Concert de {{{artiste}}}</div>
   </div>
   </div>


   <div style="padding: 12px; text-align: center; background: #f9fafb;">
   <div style="background: #f8f9fa; color: #0056b3; text-align: center; padding: 5px; border-bottom: 1px solid #eee; font-weight: bold;">
    <div style="border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1);">{{{image}}}</div>
     Concert de {{{artiste}}}
     <div style="font-size: 0.85em; color: #6b7280; margin-top: 8px; font-style: italic; padding: 0 10px;">{{{legende}}}</div>
   </div>
   </div>


   <div style="padding: 10px 16px;">
  {{#if:{{{image|}}}|
   <div style="padding: 10px; text-align: center; background: white;">
    {{{image}}}
    {{#if:{{{legende|}}}|<div style="font-size: 0.8em; color: #6c757d; margin-top: 5px;">{{{legende}}}</div>}}
  </div>
  }}
 
  <div style="padding: 5px 12px 12px 12px;">
     <table style="width: 100%; border-collapse: collapse;">
     <table style="width: 100%; border-collapse: collapse;">
       <tr>
       {{#if:{{{date|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold; width: 40%;">Date</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{date}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600; width: 35%;">Date</td>
      {{#if:{{{lieu|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Lieu</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{lieu}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{date}}}</td>
       {{#if:{{{ville|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Ville</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{ville}}}</td></tr>}}
      </tr>
      {{#if:{{{pays|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Pays</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{pays}}}</td></tr>}}
       <tr>
       {{#if:{{{tournee|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Tournée</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{tournee}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600;">Lieu</td>
      {{#if:{{{duree|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Durée</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{duree}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{lieu}}}</td>
       {{#if:{{{genre|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Genre</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{genre}}}</td></tr>}}
      </tr>
      {{#if:{{{producteur|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Producteur</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{producteur}}}</td></tr>}}
       <tr>
       {{#if:{{{label|}}}|<tr><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa; font-weight: bold;">Label</td><td style="padding: 6px 0; border-bottom: 1px solid #f8f9fa;">{{{label}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600;">Durée</td>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{duree}}}</td>
      </tr>
       <tr>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600;">Genre</td>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{genre}}}</td>
      </tr>
       <tr>
        <td style="padding: 8px 0; color: #6b7280; font-weight: 600;">Format</td>
        <td style="padding: 8px 0; color: #111827; text-align: right;">{{{format}}}</td>
      </tr>
     </table>
     </table>
   </div>
   </div>


   <div style="background: #f3f4f6; padding: 12px; border-top: 1px solid #e5e7eb;">
   <div style="background: #e9ecef; padding: 8px; text-align: center; font-size: 0.9em;">
    <div style="text-align: center; font-size: 0.75em; font-weight: 700; color: #9ca3af; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;">Chronologie des concerts</div>
    <div style="font-weight: bold; margin-bottom: 5px; color: #495057;">Concerts de {{{artiste}}}</div>
     <div style="display: flex; justify-content: space-between; align-items: center; gap: 10px;">
     <div style="display: flex; justify-content: space-between; align-items: center; gap: 5px;">
       <div style="flex: 1; font-size: 0.8em; color: #2596be; font-weight: 600;">{{{precedent}}}</div>
       <div style="flex: 1; text-align: left;">{{#if:{{{precedent|}}}| ← {{{precedent}}} }}</div>
      <div style="color: #d1d5db;">|</div>
       <div style="flex: 1; text-align: right;">{{#if:{{{suivant|}}}| {{{suivant}}} → }}</div>
       <div style="flex: 1; font-size: 0.8em; color: #2596be; font-weight: 600; text-align: right;">{{{suivant}}}</div>
     </div>
     </div>
   </div>
   </div>
Ligne 50 : Ligne 43 :


== Documentation ==
== Documentation ==
Ce modèle permet d'afficher une infobox pour un concert ou une captation live.
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"titre": { "label": "Nom du Concert", "type": "string", "required": true, "example": "Live at Pauline Roland" },
"titre": { "label": "Titre du concert", "type": "string", "required": true, "example": "Live At Pauline Roland" },
"artiste": { "label": "Artiste / Groupe", "type": "string", "suggested": true, "example": "Wreck" },
"artiste": { "label": "Artiste", "type": "string", "suggested": true, "example": "Wreck" },
"image": { "label": "Image (Code)", "description": "Exemple: [[Fichier:Nom.jpg|250px]]", "type": "string" },
"image": { "label": "Image", "description": "Ex: [[Fichier:Nom.jpg|250px]]", "type": "string" },
"legende": { "label": "Légende", "description": "Texte sous l'image", "type": "string" },
"legende": { "label": "Légende", "type": "string" },
"date": { "label": "Date", "type": "string", "suggested": true, "example": "10 octobre 2025" },
"date": { "label": "Date du concert", "type": "string" },
"lieu": { "label": "Lieu / Salle", "type": "string", "suggested": true, "example": "Chevilly-Larue" },
"lieu": { "label": "Lieu / Salle", "type": "string" },
"ville": { "label": "Ville", "type": "string" },
"pays": { "label": "Pays", "type": "string" },
"tournee": { "label": "Tournée", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
"genre": { "label": "Genre", "type": "string" },
"genre": { "label": "Genre musical", "type": "string" },
"format": { "label": "Format", "description": "Ex: Digital, DVD, VHS", "type": "string" },
"producteur": { "label": "Producteur", "type": "string" },
"precedent": { "label": "Précédent", "description": "Nom du concert avant celui-ci", "type": "string" },
"label": { "label": "Label", "type": "string" },
"suivant": { "label": "Suivant", "description": "Nom du concert après celui-ci", "type": "string" }
"precedent": { "label": "Concert précédent", "type": "string" },
"suivant": { "label": "Concert suivant", "type": "string" }
},
},
"description": "Infobox moderne pour les concerts et captations live.",
"description": "Infobox pour les lives et concerts.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Version du 22 février 2026 à 01:33


Documentation

Ce modèle permet d'afficher une infobox pour un concert ou une captation live.

Infobox pour les lives et concerts.

Paramètres du modèle[Modifier les données du modèle]

La mise en forme multiligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Titre du concerttitre

aucune description

Exemple
Live At Pauline Roland
Chaîneobligatoire
Artisteartiste

aucune description

Exemple
Wreck
Chaînesuggéré
Imageimage

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

Chaînefacultatif
Légendelegende

aucune description

Chaînefacultatif
Date du concertdate

aucune description

Chaînefacultatif
Lieu / Sallelieu

aucune description

Chaînefacultatif
Villeville

aucune description

Chaînefacultatif
Payspays

aucune description

Chaînefacultatif
Tournéetournee

aucune description

Chaînefacultatif
Duréeduree

aucune description

Chaînefacultatif
Genre musicalgenre

aucune description

Chaînefacultatif
Producteurproducteur

aucune description

Chaînefacultatif
Labellabel

aucune description

Chaînefacultatif
Concert précédentprecedent

aucune description

Chaînefacultatif
Concert suivantsuivant

aucune description

Chaînefacultatif