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

Contenu supprimé Contenu ajouté
Moins de saut de ligne
Ajout du paramètre imagetexte pour le cas où aucune image libre ne peut illustrer un livre.
Ligne 1 :
<includeonly><div class="livre-presentation livre-vitrine" style="float:left; width: 30%; min-width: 270px; max-width: 333px; padding: 10px; vertical-align: top; background-color: #FBFBFB; border: thin solid #A7D7F9; text-align: center; height: 400px; margin-left: 7px; margin-bottom: 7px;">
<div style="margin-top: 10px; height: 250px; font-size: 40pt; font-weight:bold;">
{{#if:{{{image|}}}|[[Image:{{{image}}}|250x250px|center|lien={{{lien}}}]]}}{{#if:{{{imagetexte|}}}|[[{{{lien}}}|{{{imagetexte}}}]]}}
</div>
<p style="font-size: 110%; font-weight: bold;">