« Modèle:Infobox Song » : différence entre les versions
Correction syntaxe parser functions #if et date unifiée avec liens de catégories |
Correction syntaxe parser functions #if et date unifiée avec liens de catégories |
||
| Ligne 1 : | Ligne 1 : | ||
<includeonly>{| class="infobox" style="width: 320px; float: right; margin: 0 0 1.2em 1.5em; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 90%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08); border-collapse: separate; border-spacing: 0; overflow: hidden;" | <includeonly>{| class="infobox" style="width: 320px; float: right; margin: 0 0 1.2em 1.5em; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 90%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08); border-collapse: separate; border-spacing: 0; overflow: hidden;" | ||
|- | |- | ||
! colspan="2" style="background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: #ffffff; padding: 12px; font-size: 115%; text-align: center; font-weight: bold;" | {{{title|{{{titre|{{PAGENAME | ! colspan="2" style="background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: #ffffff; padding: 12px; font-size: 115%; text-align: center; font-weight: bold;" | {{{title|{{{titre|{{PAGENAME}}}}}}}} | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!-}} | {{!-}} | ||
{{!}} colspan="2" style="text-align: center; padding: 8px; background: #f8fafc;" {{!}} [[Fichier:{{{image}}}|300px|center|frameless|{{{image_caption|{{{legende|Miniature de {{{title|{{{titre|{{PAGENAME | {{!}} colspan="2" style="text-align: center; padding: 8px; background: #f8fafc;" {{!}} [[Fichier:{{{image}}}|300px|center|frameless|{{{image_caption|{{{legende|Miniature de {{{title|{{{titre|{{PAGENAME}}}}}}}}}}}}}}]] | ||
}} | }} | ||
{{#if: {{{original_title|{{{titre_original|}}}}}} | | {{#if: {{{original_title|{{{titre_original|}}}}}} | | ||
| Ligne 22 : | Ligne 22 : | ||
{{!-}} style="border-top: 1px solid #e2e8f0;" | {{!-}} style="border-top: 1px solid #e2e8f0;" | ||
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Date de sortie | ! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Date de sortie | ||
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{#if: {{{release_weekday|}}}{{{release_day|}}}{{{release_month|}}}{{{release_year|}}} |{{#if: {{{release_weekday|}}} |[[:Catégorie:Chanson sortie un {{lc:{{{release_weekday}}}}}|{{ucfirst:{{{release_weekday}}}}}]] }}{{#if: {{{release_day|}}} |[[:Catégorie:Chanson sortie un {{{release_day}}}|{{{release_day}}}]] }}{{#if: {{{release_month|}}} | | {{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{#if: {{{release_weekday|}}}{{{release_day|}}}{{{release_month|}}}{{{release_year|}}} |{{#if: {{{release_weekday|}}} |[[:Catégorie:Chanson sortie un {{lc:{{{release_weekday}}}}}|{{ucfirst:{{{release_weekday}}}}}]] }}{{#if: {{{release_day|}}} |[[:Catégorie:Chanson sortie un {{{release_day}}}|{{{release_day}}}]] }}{{#if: {{{release_month|}}} |[[:Catégorie:Chanson sortie en {{lc:{{{release_month}}}}}|{{lc:{{{release_month}}}}}]] }}{{#if: {{{release_year|}}} |[[:Catégorie:Chanson de {{{release_year}}}|{{{release_year}}}]]}}|{{{release_date|{{{date_sortie|{{{date_publication}}}}}}}}} }}{{#if: {{{release_time|{{{heure_sortie|}}}}}} | à {{{release_time|{{{heure_sortie}}}}}} }} | ||
}} | }} | ||
{{#if: {{{release_start_date|}}} | | {{#if: {{{release_start_date|}}} | | ||