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>{| class="infobox" style="width: 22em; max-width: 100%; float: right; clear: right; 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;"
<includeonly>{| class="infobox" style="width: 22em; max-width: 100%; float: right; clear: right; 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;"
|+ 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>}}}
|+ 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>}}
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center; padding: 10px; background-color: rgba(255, 255, 255, 0.05);">[[Fichier:{{{image}}}|thumb|border=none|center|upright=1.1|alt={{{nom|}}}]] {{#if:{{{legende|}}}|<br/><small style="color: var(--color-subtle, #54595d);">{{{legende}}}</small>}}</td></tr>}}
! 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;" | Informations générales
{{#if:{{{artiste|}}}|<tr><th style="text-align: left; width: 40%; padding: 5px;">Artiste</th><td>{{{artiste}}}</td></tr>}}
{{#if:{{{artiste|}}}|<tr><th style="text-align: left; width: 40%; padding: 5px;">Artiste</th><td>{{{artiste}}}</td></tr>}}
Ligne 15 : Ligne 15 :
{{#if:{{{premiere_partie|}}}|<tr><th style="text-align: left; padding: 5px;">1ère partie</th><td>{{{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: 5px;">Site web</th><td>{{{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>
|}
== Documentation ==
 
<templatedata>
<style>
{
/* Style spécifique pour mobile */
"params": {
@media screen and (max-width: 600px) {
"nom": { "label": "Nom", "type": "string", "suggested": true },
    .infobox {
"image": { "label": "Image", "type": "wiki-file-name" },
        width: 100% !important;
"legende": { "label": "Légende", "type": "string" },
        float: none !important;
"artiste": { "label": "Artiste", "type": "string" },
        margin: 1em 0 !important;
"tournee": { "label": "Tournée", "type": "string" },
        display: table !important; /* Force le comportement tableau sur mobile */
"date": { "label": "Date", "type": "string" },
    }
"lieu": { "label": "Lieu", "type": "string" },
"ville": { "label": "Ville", "type": "string" },
"pays": { "label": "Pays", "type": "string" },
"genre": { "label": "Genre", "type": "string" },
"duree": { "label": "Durée", "type": "string" },
"affluence": { "label": "Affluence", "type": "string" },
"premiere_partie": { "label": "Première partie", "type": "string" },
"site_web": { "label": "Site web", "type": "url" }
},
"description": "Infobox concert ultra-adaptative.",
"format": "block"
}
}
</templatedata>
</style></includeonly>
[[Catégorie:Modèle Infobox]]</noinclude>

Version du 22 février 2026 à 17:53

}}}

! 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



|}

<style> /* Style spécifique pour mobile */ @media screen and (max-width: 600px) {

   .infobox {
       width: 100% !important;
       float: none !important;
       margin: 1em 0 !important;
       display: table !important; /* Force le comportement tableau sur mobile */
   }

} </style></includeonly>