« Modèle:Infobox Chanson » : différence entre les versions
Remplacement des styles CSS inline par des classes |
Ajout du support des pochettes d'album et de singles (cover/pochette) |
||
| Ligne 2 : | Ligne 2 : | ||
|- | |- | ||
! colspan="2" class="infobox-chanson-title" | {{{title|{{{titre|{{PAGENAME}}}}}}}} | ! colspan="2" class="infobox-chanson-title" | {{{title|{{{titre|{{PAGENAME}}}}}}}} | ||
{{#if: {{{cover|{{{pochette|{{{album_cover|}}}}}}}}} | | |||
{{!-}} | |||
{{!}} colspan="2" class="infobox-chanson-cover" style="text-align: center; padding: 6px 0;" {{!}} [[Fichier:{{{cover|{{{pochette|{{{album_cover}}}}}}}}}|250x250px|center|frameless|{{{cover_caption|{{{legende_pochette|Pochette de {{{title|{{{titre|{{PAGENAME}}}}}}}}}}}}}}]] | |||
{{#if: {{{cover_caption|{{{legende_pochette|}}}}}} |<div style="font-size: 0.85em; color: #555; text-align: center; margin-top: 3px;">{{{cover_caption|{{{legende_pochette}}}}}}</div>}} | |||
}} | |||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!-}} | {{!-}} | ||
| Ligne 83 : | Ligne 88 : | ||
{{Infobox Chanson | {{Infobox Chanson | ||
| title = | | title = | ||
| cover = | |||
| cover_caption = | |||
| image = | | image = | ||
| image_caption = | | image_caption = | ||