Aller au contenu

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

De Wreck
Aucun résumé des modifications
Aucun résumé des modifications
 
(37 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>{| class="infobox" style="width: 22em; max-width: 100%; min-width: 300px; float: right; clear: both; margin: 0 0 1em 1em; border: 1px solid var(--border-color-base, #aaa); background-color: var(--background-color-neutral-subtle, #f9f9f9); font-size: 90%; line-height: 1.5em; color: var(--color-base, #202122); border-spacing: 2px; box-sizing: border-box; border-radius: 8px; overflow: hidden; display: table;"
<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);">
|+ style="font-size: 125%; font-weight: bold; background-color: rgba(176, 196, 222, 0.8); padding: 8px; color: var(--color-base, #000);" | {{{nom|<includeonly>{{PAGENAME}}</includeonly>}}}
 
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center; padding: 10px; background-color: rgba(255, 255, 255, 0.05);">[[Fichier:{{{image}}}|frameless|upright=1.1|center|alt={{{nom|}}}]] {{#if:{{{legende|}}}|<br/><small style="color: var(--color-subtle, #54595d);">{{{legende}}}</small>}}</td></tr>}}
  <div style="background: linear-gradient(135deg, #2596be 0%, #1a6d8a 100%); color: white; padding: 16px; text-align: center;">
! colspan="2" style="background-color: rgba(176, 196, 222, 0.5); text-align: center; color: var(--color-base, #000); padding: 5px;" | Informations générales
    <div style="font-weight: 800; font-size: 1.3em; letter-spacing: 0.5px; text-transform: uppercase;">{{{titre}}}</div>
{{#if:{{{artiste|}}}|<tr><th style="text-align: left; width: 40%; padding: 5px;">Artiste</th><td>{{{artiste}}}</td></tr>}}
    <div style="opacity: 0.9; font-size: 0.9em; margin-top: 4px; font-weight: 500;">Concert de {{{artiste}}}</div>
{{#if:{{{tournee|}}}|<tr><th style="text-align: left; padding: 5px;">Tournée</th><td>''{{{tournee}}}''</td></tr>}}
  </div>
{{#if:{{{date|}}}|<tr><th style="text-align: left; padding: 5px;">Date</th><td>{{{date}}}</td></tr>}}
 
{{#if:{{{lieu|}}}|<tr><th style="text-align: left; padding: 5px;">Lieu</th><td>{{{lieu}}}</td></tr>}}
  <div style="padding: 12px; text-align: center; background: #f9fafb;">
{{#if:{{{ville|}}}|<tr><th style="text-align: left; padding: 5px;">Ville</th><td>{{{ville}}}</td></tr>}}
    <div style="border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1);">{{{image}}}</div>
{{#if:{{{pays|}}}|<tr><th style="text-align: left; padding: 5px;">Pays</th><td>{{{pays}}}</td></tr>}}
    <div style="font-size: 0.85em; color: #6b7280; margin-top: 8px; font-style: italic; padding: 0 10px;">{{{legende}}}</div>
! colspan="2" style="background-color: rgba(176, 196, 222, 0.5); text-align: center; color: var(--color-base, #000); padding: 5px;" | Détails techniques
  </div>
{{#if:{{{genre|}}}|<tr><th style="text-align: left; padding: 5px;">Genre</th><td>{{{genre}}}</td></tr>}}
 
{{#if:{{{duree|}}}|<tr><th style="text-align: left; padding: 5px;">Durée approx.</th><td>{{{duree}}}</td></tr>}}
  <div style="padding: 10px 16px;">
{{#if:{{{affluence|}}}|<tr><th style="text-align: left; padding: 5px;">Affluence</th><td>{{{affluence}}}</td></tr>}}
    <table style="width: 100%; border-collapse: collapse;">
{{#if:{{{premiere_partie|}}}|<tr><th style="text-align: left; padding: 5px;">1ère partie</th><td>{{{premiere_partie}}}</td></tr>}}
      <tr>
{{#if:{{{site_web|}}}|<tr><th style="text-align: left; padding: 5px;">Site web</th><td>{{{site_web}}}</td></tr>}}
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600; width: 35%;">Date</td>
|}</includeonly><noinclude>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{date}}}</td>
      </tr>
      <tr>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-weight: 600;">Lieu</td>
        <td style="padding: 8px 0; border-bottom: 1px solid #f3f4f6; color: #111827; text-align: right;">{{{lieu}}}</td>
      </tr>
      <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>
  </div>
 
  <div style="background: #f3f4f6; padding: 12px; border-top: 1px solid #e5e7eb;">
    <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="display: flex; justify-content: space-between; align-items: center; gap: 10px;">
      <div style="flex: 1; font-size: 0.8em; color: #2596be; font-weight: 600;">{{{precedent}}}</div>
      <div style="color: #d1d5db;">|</div>
      <div style="flex: 1; font-size: 0.8em; color: #2596be; font-weight: 600; text-align: right;">{{{suivant}}}</div>
    </div>
  </div>
 
</aside>
</includeonly><noinclude>
 
== Documentation ==
== Documentation ==
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"titre": { "label": "Nom du Concert", "type": "string", "required": true, "example": "Live at Pauline Roland" },
        "nom": { "label": "Nom", "type": "string", "suggested": true },
"artiste": { "label": "Artiste / Groupe", "type": "string", "suggested": true, "example": "Wreck" },
        "image": { "label": "Image", "type": "wiki-file-name" },
"image": { "label": "Image (Code)", "description": "Exemple: [[Fichier:Nom.jpg|250px]]", "type": "string" },
        "legende": { "label": "Légende", "type": "string" },
"legende": { "label": "Légende", "description": "Texte sous l'image", "type": "string" },
        "artiste": { "label": "Artiste", "type": "string" },
"date": { "label": "Date", "type": "string", "suggested": true, "example": "10 octobre 2025" },
        "tournee": { "label": "Tournée", "type": "string" },
"lieu": { "label": "Lieu / Salle", "type": "string", "suggested": true, "example": "Chevilly-Larue" },
        "date": { "label": "Date", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
        "lieu": { "label": "Lieu", "type": "string" },
"genre": { "label": "Genre", "type": "string" },
        "ville": { "label": "Ville", "type": "string" },
"format": { "label": "Format", "description": "Ex: Digital, DVD, VHS", "type": "string" },
        "pays": { "label": "Pays", "type": "string" },
"precedent": { "label": "Précédent", "description": "Nom du concert avant celui-ci", "type": "string" },
        "genre": { "label": "Genre", "type": "string" },
"suivant": { "label": "Suivant", "description": "Nom du concert après celui-ci", "type": "string" }
        "duree": { "label": "Durée", "type": "string" },
},
        "affluence": { "label": "Affluence", "type": "string" },
"description": "Infobox moderne pour les concerts et captations live.",
        "premiere_partie": { "label": "Première partie", "type": "string" },
"format": "block"
        "site_web": { "label": "Site web", "type": "url" }
    },
    "description": "Infobox concert ultra-adaptative.",
    "format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
 
[[Catégorie:Modèle Infobox]]</noinclude>

Dernière version du 23 février 2026 à 22:59

}}}

! colspan="2" style="background-color: rgba(176, 196, 222, 0.5); text-align: center; color: var(--color-base, #000); padding: 5px;" | Informations générales




! colspan="2" style="background-color: rgba(176, 196, 222, 0.5); text-align: center; color: var(--color-base, #000); padding: 5px;" | Détails techniques



|}</includeonly>

Documentation

Infobox concert ultra-adaptative.

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
Nomnom

aucune description

Chaînesuggéré
Imageimage

aucune description

Fichierfacultatif
Légendelegende

aucune description

Chaînefacultatif
Artisteartiste

aucune description

Chaînefacultatif
Tournéetournee

aucune description

Chaînefacultatif
Datedate

aucune description

Chaînefacultatif
Lieulieu

aucune description

Chaînefacultatif
Villeville

aucune description

Chaînefacultatif
Payspays

aucune description

Chaînefacultatif
Genregenre

aucune description

Chaînefacultatif
Duréeduree

aucune description

Chaînefacultatif
Affluenceaffluence

aucune description

Chaînefacultatif
Première partiepremiere_partie

aucune description

Chaînefacultatif
Site website_web

aucune description

URLfacultatif