Aller au contenu

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

De Sara'h
Déploiement du modèle commun Infobox Chanson avec ParserFunctions
Déploiement du modèle commun Infobox Chanson avec ParserFunctions
Ligne 2 : Ligne 2 :
|-
|-
! colspan="2" style="background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: #ffffff; padding: 12px; font-size: 115%; text-align: center; font-weight: bold;" | {{{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;" | {{{titre|{{PAGENAME}}}}}
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |{{!-}}
{{!-}}
{{!}} colspan="2" style="text-align: center; padding: 8px; background: #f8fafc;" {{!}} [[Fichier:{{{image}}}|300px|center|frameless|{{{legende|Miniature de {{{titre|{{PAGENAME}}}}}}}}]]}}
{{!}} colspan="2" style="text-align: center; padding: 8px; background: #f8fafc;" {{!}} [[Fichier:{{{image}}}|300px|center|frameless|{{{legende|Miniature de {{{titre|{{PAGENAME}}}}}}}}]]
{{#if: {{{titre_original|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
}}
{{#if: {{{titre_original|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; width: 40%; color: #334155; font-weight: 600;" {{!}} Titre original
! style="padding: 6px 10px; text-align: left; background: #f8fafc; width: 40%; color: #334155; font-weight: 600;" {{!}} Titre original
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} '''{{{titre_original}}}'''
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} '''{{{titre_original}}}'''}}
}}
{{#if: {{{artiste_original|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{artiste_original|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Artiste original
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Artiste original
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{artiste_original}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{artiste_original}}}}}
}}
|- 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;" | Interprète
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" | Interprète
| style="padding: 6px 10px; color: #0f172a;" | {{{interprete|[[Sara'h]]}}}
| style="padding: 6px 10px; color: #0f172a;" | {{{interprete|[[Sara'h]]}}}
{{#if: {{{date_sortie|{{{date_publication|}}}}}} |
{{#if: {{{date_sortie|{{{date_publication|}}}}}} |{{!-}} 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;" {{!}} {{{date_sortie|{{{date_publication}}}}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{date_sortie|{{{date_publication}}}}}}}}
}}
{{#if: {{{type|{{{genre|}}}}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{type|{{{genre|}}}}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Type
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Type
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{type|{{{genre}}}}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{type|{{{genre}}}}}}}}
}}
{{#if: {{{album|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{album|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Album
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Album
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{album}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{album}}}}}
}}
{{#if: {{{adaptation|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{adaptation|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Adaptation
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Adaptation
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{adaptation}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{adaptation}}}}}
}}
{{#if: {{{vues_youtube|{{{vues|}}}}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{vues_youtube|{{{vues|}}}}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Vues YouTube
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Vues YouTube
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{vues_youtube|{{{vues}}}}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{vues_youtube|{{{vues}}}}}}}}
}}
{{#if: {{{lien_youtube|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{lien_youtube|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Vidéo YouTube
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Vidéo YouTube
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{lien_youtube}}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}} {{{lien_youtube}}}}}
}}
{{#if: {{{spotify|}}}{{{apple_music|}}}{{{deezer|}}} |{{!-}} style="border-top: 1px solid #e2e8f0;"
{{#if: {{{spotify|}}}{{{apple_music|}}}{{{deezer|}}} |
{{!-}} style="border-top: 1px solid #e2e8f0;"
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Écouter en streaming
! style="padding: 6px 10px; text-align: left; background: #f8fafc; color: #334155; font-weight: 600;" {{!}} Écouter en streaming
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}}
{{!}} style="padding: 6px 10px; color: #0f172a;" {{!}}
{{#if: {{{spotify|}}} | * [{{{spotify}}} 🟢 Spotify]<br /> }}{{#if: {{{apple_music|}}} | * [{{{apple_music}}} 🍎 Apple Music]<br /> }}{{#if: {{{deezer|}}} | * [{{{deezer}}} 🟣 Deezer] }}
{{#if: {{{spotify|}}} |* [{{{spotify}}} 🟢 Spotify]
}}
}}{{#if: {{{apple_music|}}} |* [{{{apple_music}}} 🍎 Apple Music]
|}</includeonly><noinclude>
}}{{#if: {{{deezer|}}} |* [{{{deezer}}} 🟣 Deezer]
}}}}|}</includeonly><noinclude>
== Utilisation ==
== Utilisation ==
<pre>
<pre>

Version du 5 septembre 2026 à 14:12

Utilisation

{{Infobox Chanson
| titre = 
| image = 
| titre_original = 
| artiste_original = 
| interprete = [[Sara'h]]
| date_sortie = 
| type = Reprise (French Version)
| album = 
| adaptation = Sara'h
| vues_youtube = 
| lien_youtube = 
| spotify = 
| apple_music = 
| deezer = 
}}