« Utilisateur:François Melchior/Modèle:Contenu de sommaire/Style sommaire droite 2 » : différence entre les versions
Contenu supprimé Contenu ajouté
Page créée avec « {{#switch: {{{partie}}} {{#ifeq: {{{niveau|1}}}|1|1}} | début 1 = <div class="noprint sommaire" style="width:200px;margin-left:5px;border:3px blue inset;... » |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{#switch: {{{partie}}} {{#ifeq: {{{niveau|1}}}|1| |
{{#switch: {{{partie}}} {{#ifeq: {{{niveau|1}}}|1||+}} |
||
| début |
| début = <div class="noprint sommaire" |
||
style="width:200px;margin-left:5px;border:3px blue inset;float:right;background:#FFF"> |
style="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"><!-- |
||
Ligne 6 : | Ligne 6 : | ||
[[Image:{{{option image|Wikibooks-logo-fr.png}}}|center|150px]] |
[[Image:{{{option image|Wikibooks-logo-fr.png}}}|center|150px]] |
||
<div style="background:#E0E0F0;font-weight:bold;text-align:center"><!-- |
<div style="background:#E0E0F0;font-weight:bold;text-align:center"><!-- |
||
-->{{{option titre|}}}</div> |
-->{{{option titre|Sommaire}}}</div> |
||
<ol> |
<ol> |
||
| fin |
| fin = </ol> <small style="display:block;text-align:right">[[{{{sommaire}}}|Modifier]]</small> </div> |
||
| début de liste = <ul> |
|||
| fin de liste = </ul> |
|||
| chapitre 1 = <li>{{{chapitre}}} |
|||
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] |
| chapitre = <li>[[{{{page}}}|{{{chapitre}}}]] |
||
}}<noinclude> |
}}<noinclude> |
Version du 30 octobre 2013 à 11:21
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: