« 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;padding:2px"><!-- |
<div style="background:#E0E0F0;font-weight:bold;text-align:center;padding:2px"><!-- |
||
-->[[{{{accueil}}}|{{{livre}}}]]</div> |
-->[[{{{accueil}}}|{{{livre}}}]]</div> |
||
[[Image:{{{option image|Wikibooks-logo-fr.png}}} |
<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;padding:2px"><!-- |
<div style="background:#E0E0F0;font-weight:bold;text-align:center;padding:2px"><!-- |
||
-->{{{option titre|Sommaire}}}</div> |
-->{{{option titre|Sommaire}}}</div> |
||
<ol> |
<ol style="padding:2px"> |
||
| fin = </ol> <small style="display:block;text-align:right">''[[{{{sommaire}}}|Modifier]]''</small> </div> |
| fin = </ol> <small style="display:block;text-align:right">''[[{{{sommaire}}}|Modifier]]''</small> </div> |
||
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] {{Avancement|{{{avancement|}}}|carré}} |
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] {{Avancement|{{{avancement|}}}|carré}} |
Version du 30 octobre 2013 à 12:00
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: