Aller au contenu

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

De Wreck
Aucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
<includeonly>{| class="infobox" style="float: right; clear: right; width: 22em; max-width: 100%; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; border-spacing: 0; border-collapse: separate; box-sizing: border-box; border-radius: 8px; overflow: hidden;"
<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;"
|+ style="font-size: 125%; font-weight: bold; background-color: #b0c4de; padding: 10px; color: #000; border-bottom: 1px solid #a2a9b1;" | {{{nom|<includeonly>{{PAGENAME}}</includeonly>}}}
|+ 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: 8px; background: #fff;">[[Fichier:{{{image}}}|frameless|upright=1.2|center|alt={{{nom|}}}]] {{#if:{{{legende|}}}|<br/><small>{{{legende}}}</small>}}</td></tr>}}
{{#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>}}
! colspan="2" style="background-color: #ccd9ea; text-align: center; padding: 5px; color: #000; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;" | 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;" | Informations générales
{{#if:{{{artiste|}}}|<tr><th style="text-align: left; padding: 4px 6px; width: 40%;">Artiste</th><td style="padding: 4px 6px;">{{{artiste}}}</td></tr>}}
{{#if:{{{artiste|}}}|<tr><th style="text-align: left; width: 40%; padding: 5px;">Artiste</th><td>{{{artiste}}}</td></tr>}}
{{#if:{{{tournee|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Tournée</th><td style="padding: 4px 6px;">''{{{tournee}}}''</td></tr>}}
{{#if:{{{tournee|}}}|<tr><th style="text-align: left; padding: 5px;">Tournée</th><td>''{{{tournee}}}''</td></tr>}}
{{#if:{{{date|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Date</th><td style="padding: 4px 6px;">{{{date}}}</td></tr>}}
{{#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: 4px 6px;">Lieu</th><td style="padding: 4px 6px;">{{{lieu}}}</td></tr>}}
{{#if:{{{lieu|}}}|<tr><th style="text-align: left; padding: 5px;">Lieu</th><td>{{{lieu}}}</td></tr>}}
{{#if:{{{ville|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Ville</th><td style="padding: 4px 6px;">{{{ville}}}</td></tr>}}
{{#if:{{{ville|}}}|<tr><th style="text-align: left; padding: 5px;">Ville</th><td>{{{ville}}}</td></tr>}}
{{#if:{{{pays|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Pays</th><td style="padding: 4px 6px;">{{{pays}}}</td></tr>}}
{{#if:{{{pays|}}}|<tr><th style="text-align: left; padding: 5px;">Pays</th><td>{{{pays}}}</td></tr>}}
! colspan="2" style="background-color: #ccd9ea; text-align: center; padding: 5px; color: #000; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;" | Détails techniques
! colspan="2" style="background-color: rgba(176, 196, 222, 0.5); text-align: center; color: var(--color-base, #000); padding: 5px;" | Détails techniques
{{#if:{{{genre|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Genre</th><td style="padding: 4px 6px;">{{{genre}}}</td></tr>}}
{{#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: 4px 6px;">Durée approx.</th><td style="padding: 4px 6px;">{{{duree}}}</td></tr>}}
{{#if:{{{duree|}}}|<tr><th style="text-align: left; padding: 5px;">Durée approx.</th><td>{{{duree}}}</td></tr>}}
{{#if:{{{affluence|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Affluence</th><td style="padding: 4px 6px;">{{{affluence}}}</td></tr>}}
{{#if:{{{affluence|}}}|<tr><th style="text-align: left; padding: 5px;">Affluence</th><td>{{{affluence}}}</td></tr>}}
{{#if:{{{premiere_partie|}}}|<tr><th style="text-align: left; padding: 4px 6px;">1ère partie</th><td style="padding: 4px 6px;">{{{premiere_partie}}}</td></tr>}}
{{#if:{{{premiere_partie|}}}|<tr><th style="text-align: left; padding: 5px;">1ère partie</th><td>{{{premiere_partie}}}</td></tr>}}
{{#if:{{{site_web|}}}|<tr><th style="text-align: left; padding: 4px 6px;">Site web</th><td style="padding: 4px 6px;">{{{site_web}}}</td></tr>}}
{{#if:{{{site_web|}}}|<tr><th style="text-align: left; padding: 5px;">Site web</th><td>{{{site_web}}}</td></tr>}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
== Documentation ==
== Documentation ==
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"nom": { "label": "Nom", "type": "string", "suggested": true },
        "nom": { "label": "Nom", "type": "string", "suggested": true },
"image": { "label": "Image (Nom du fichier)", "type": "wiki-file-name", "suggested": true },
        "image": { "label": "Image", "type": "wiki-file-name" },
"legende": { "label": "Légende", "type": "string" },
        "legende": { "label": "Légende", "type": "string" },
"artiste": { "label": "Artiste", "type": "string" },
        "artiste": { "label": "Artiste", "type": "string" },
"tournee": { "label": "Tournée", "type": "string" },
        "tournee": { "label": "Tournée", "type": "string" },
"date": { "label": "Date", "type": "string" },
        "date": { "label": "Date", "type": "string" },
"lieu": { "label": "Lieu", "type": "string" },
        "lieu": { "label": "Lieu", "type": "string" },
"ville": { "label": "Ville", "type": "string" },
        "ville": { "label": "Ville", "type": "string" },
"pays": { "label": "Pays", "type": "string" },
        "pays": { "label": "Pays", "type": "string" },
"genre": { "label": "Genre", "type": "string" },
        "genre": { "label": "Genre", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
        "duree": { "label": "Durée", "type": "string" },
"affluence": { "label": "Affluence", "type": "string" },
        "affluence": { "label": "Affluence", "type": "string" },
"premiere_partie": { "label": "Première partie", "type": "string" },
        "premiere_partie": { "label": "Première partie", "type": "string" },
"site_web": { "label": "Site web", "type": "url" }
        "site_web": { "label": "Site web", "type": "url" }
},
    },
"description": "Infobox concert automatique.",
    "description": "Infobox concert ultra-adaptative.",
"format": "block"
    "format": "block"
}
}
</templatedata>
</templatedata>
[[Catégorie:Modèle Infobox]]</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