« Utilisateur:François Melchior/Modèle:Contenu de sommaire/Style sommaire droite 2 » : différence entre les versions
Contenu supprimé Contenu ajouté
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{#switch: {{{partie}}} {{#ifeq: {{{niveau|1}}}|1||+}} |
{{#switch: {{{partie}}} {{#ifeq: {{{niveau|1}}}|1||+}} |
||
| début = <div class="noprint sommaire" |
| début = <div class="noprint sommaire" |
||
style="min-width:200px;margin-left:5px;border:3px blue inset;float:right;background:#FFF"> |
style="min-width:200px;margin-left:5px; |
||
border:3px blue inset;float:right;background:#FFF"> |
|||
<div style="background:#E0E0F0;font-weight:bold;text-align:center; |
<div style="background:#E0E0F0;font-weight:bold;text-align:center; |
||
padding:2px">[[{{{accueil}}}|{{{livre}}}]]</div> |
|||
<div style="text-align:center;padding:2px">[[Image:{{{option image|Wikibooks-logo-fr.png}}}|150px]]</div> |
<div style="text-align:center;padding:2px"><!-- |
||
-->[[Image:{{{option image|Wikibooks-logo-fr.png}}}|150px]]</div> |
|||
<div style="background:#E0E0F0;font-weight:bold;text-align:center; |
<div style="background:#E0E0F0;font-weight:bold;text-align:center; |
||
padding:2px">{{{option titre|Sommaire}}}</div> |
|||
<ol style="padding:2px"> |
<ol style="padding:2px"> |
||
| fin = </ol> <small style="display:block;text-align:right;padding:2px">''[[{{{sommaire}}}|Modifier]]''</small> </div> |
| fin = </ol> <small style="display:block;text-align:right;padding:3px 3px 2px"> <!-- |
||
-->''[[{{{sommaire}}}|Modifier]]''</small> </div> |
|||
| début de liste = <ol style="margin:0.2em 0 0.3em 0.7em"> |
|||
| fin de liste = </ol> |
|||
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] {{Avancement|{{{avancement|}}}|carré}} |
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] {{Avancement|{{{avancement|}}}|carré}} |
||
}}<noinclude> |
}}<noinclude> |
Version du 30 octobre 2013 à 11:17
Ce modèle est un style (thème) pour le modèle {{Contenu de sommaire}}.
Les options suivantes sont disponibles :
- titre
- texte pour le titre. Si égal à ~, le titre du livre sera employé.
- image
- possibilité d’afficher une autre image ; écrivez le nom de l’image sans le préfixe
Image:
ouFile:
.
Exemple: