Modèle:Infobox V3/Début : Différence entre versions

De Oxélie - Wiki
Aller à : navigation, rechercher
(Page créée avec « <div class="NavFrame" style="{{#switch:{{{alignB}}} | centre|center = margin:auto; | droite|right = margin-left:auto; | gauche|left|#default = }} clear:both; margin-bottom... »)
 
 
Ligne 1 : Ligne 1 :
<div class="NavFrame" style="{{#switch:{{{alignB}}} | centre|center = margin:auto; | droite|right = margin-left:auto; | gauche|left|#default = }} clear:both; margin-bottom:{{#if:{{{margeBas|}}}|{{{margeBas}}}|1em}}; width:{{{largeur|99%}}}; border-style:solid; border-radius:{{{arrondi|0}}}; border-color:{{{couleurBordure|#AAAAAA}}}; background-color:{{{couleurFondB|#FFFFFF}}};" title="{{{label|[Dérouler]/[Enrouler]}}}" >
+
<includeonly><div class="infobox_v3 {{{class|}}}" {{#if:{{{width|}}}|style="width:{{#if:1|{{{width|}}}}}em"}}>
{{#if:{{{image|}}}|<div class="NavPic" style="{{{style|}}}background-color:{{{couleurFondT|#EFEFEF}}};">{{{image}}}</div>}}
+
<div class="entete {{#if:{{{icon|}}}|icon {{{icon|}}}}}" style="{{#if:{{{background|}}} | background-color: {{{background}}}; }} {{#if:{{{border-color|}}} | border: 3px solid {{{border-color|}}}; box-sizing:border-box; }} {{#if:{{{color|}}} | color: {{{color}}}; }}">
<div class="NavHead" style="text-align:{{ #switch: {{{alignT|center}}}| gauche = left| droite = right| centre = center
+
<div>{{#if:{{{text|}}}|{{{text|}}}|{{PAGENAME}}}}
| left = left| right = right| center = center | centre}}; height:{{{hauteur|1.6em}}}; background-color:{{{couleurFondT|#EFEFEF}}}; color:{{{couleurTexteT|black}}}; {{#ifeq:{{{thinning|no}}}|yes|font-weight:normal;|}}">{{{titre}}}</div>
+
</div>
<div class="NavContent" style="margin:{{{marge|0px}}}; background:{{{couleurFond|white}}}; display:block; text-align:{{{align|left}}};">
+
</div></includeonly><noinclude>
<noinclude>
+
</div></div>
+
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Version actuelle en date du 28 septembre 2015 à 19:45

Doc