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

De Wiki GC
Aller à : navigation, rechercher
Ligne 1 : Ligne 1 :
<includeonly><div class="infobox_v3 {{{class|}}}" {{#if:{{{width|}}}|style="border: 2px #dfdfdf solid; width:300px; background-color:white; border-radius: 30px; vertical-align: top; text-align:left; font-size:90%; float:right; padding:7px ; margin: 0em 0em 0em 1em; clear: both"}}>
+
<includeonly><div style="border: 2px #dfdfdf solid; width:300px; background-color:white; border-radius: 30px; vertical-align: top; text-align:left; font-size:90%; float:right; padding:7px ; margin: 0em 0em 0em 1em; clear: both"}}>
 
<div class="entete {{#if:{{{icon|}}}|icon {{{icon|}}}}}" style="{{#if:{{{background|}}} | background-color: {{{background}}}; }} {{#if:{{{border-color|}}} | border: 2px #dfdfdf solid | border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px | box-sizing:border-box; }} {{#if:{{{color|}}} | color: {{{color}}}; }}">{{#if: {{{icon|}}} | {{#ifeq: {{{icon}}} | defaut | | {{#tag:templatestyles||src="Infobox/Pictogramme/{{{icon}}}.css"}} }} }}
 
<div class="entete {{#if:{{{icon|}}}|icon {{{icon|}}}}}" style="{{#if:{{{background|}}} | background-color: {{{background}}}; }} {{#if:{{{border-color|}}} | border: 2px #dfdfdf solid | border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px | box-sizing:border-box; }} {{#if:{{{color|}}} | color: {{{color}}}; }}">{{#if: {{{icon|}}} | {{#ifeq: {{{icon}}} | defaut | | {{#tag:templatestyles||src="Infobox/Pictogramme/{{{icon}}}.css"}} }} }}
 
<div>{{#if:{{{text|}}}|{{{text|}}}|{{PAGENAME}}}}
 
<div>{{#if:{{{text|}}}|{{{text|}}}|{{PAGENAME}}}}
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Version du 13 mai 2020 à 01:42