Modèle:Boîte déroulante/début : Différence entre versions

De WikiGenWeb
Aller à : navigation, rechercher
m
m
 
Ligne 1 : Ligne 1 :
 
<includeonly><div  align="{{ #switch:{{{alignB}}} | gauche = left | droite = right | centre = center | left = left | right = right | center = center | #default = left }}">
 
<includeonly><div  align="{{ #switch:{{{alignB}}} | gauche = left | droite = right | centre = center | left = left | right = right | center = center | #default = left }}">
<div class="NavFrame" style="clear:both; margin-top:{{{margeHaut|0}}}; margin-bottom:{{{margeBas|0}}}; width:{{{largeur|99%}}}; border-style:solid; -moz-border-radius:{{{arrondi|0.6em}}}; -webkit-border-radius:{{{arrondi|0.6em}}}; border-color:{{{couleurBordure|#AAAAAA}}}; background-color:{{{couleurFondB|#FFFFFF}}};" title="{{{label|[Dérouler]}}}" >
+
<div class="NavFrame" style="clear:both; margin-top:{{{margeHaut|0}}}; margin-bottom:{{{margeBas|0}}}; width:{{{largeur|99%}}}; border-style:solid; -moz-border-radius:{{{arrondi|0.6em}}}; -webkit-border-radius:{{{arrondi|0.6em}}}; border-color:{{{couleurBordure|#AAAAAA}}}; background-color:{{{couleurFondB|#FFFFFF}}};" title="{{{label|[Liste déroulante]}}}" >
{{#if:{{{image|}}}|<div class="NavPic" style="{{{style|}}}background-color:{{{couleurFondT|#EFEFEF}}};">{{{image}}}</div>|<div class="NavPic" style="{{{style|}}}background-color:{{{couleurFondT|#EFEFEF}}};">[[Fichier:Wiki.png|20px]]</div>}}
+
{{#if:{{{image|}}}|<div class="NavPic" style="{{{style|}}}background-color:{{{couleurFondT|#EFEFEF}}};">{{{image}}}</div>|<div class="NavPic" style="{{{style|}}}background-color:{{{couleurFondT|#EFEFEF}}};">[[Fichier:Wiki.png|20px|link=Accueil]]</div>}}
 
<div class="NavHead" align="{{ #switch: {{{alignT|center}}}| gauche = left| droite = right| centre = center
 
<div class="NavHead" align="{{ #switch: {{{alignT|center}}}| gauche = left| droite = right| centre = center
 
| left = left| right = right| center = center | centre}}" style="height:{{{hauteur|1.6em}}}; background-color:{{{couleurFondT|#CCCCFF}}}; color:{{{couleurTexteT|black}}}; {{#ifeq:{{{thinning|no}}}|yes|font-weight:normal;|}}">{{{titre}}}</div>
 
| left = left| right = right| center = center | centre}}" style="height:{{{hauteur|1.6em}}}; background-color:{{{couleurFondT|#CCCCFF}}}; color:{{{couleurTexteT|black}}}; {{#ifeq:{{{thinning|no}}}|yes|font-weight:normal;|}}">{{{titre}}}</div>

Version actuelle en date du 8 mars 2011 à 08:01

Pour la documentation se reporter à l'article Aide:Boîte déroulante