Modèle:Cadre Portail/Entête : Différence entre versions

De Intercoop
Sauter à la navigation Sauter à la recherche
(Annulation des modifications 8668 de WikiSysop (discussion))
Ligne 1 : Ligne 1 :
<includeonly>{| cellspacing="0" cellpadding="0" style="width:100%; margin-bottom:0px; padding:4px 4px 0px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
+
<includeonly>{| cellpadding="0" cellspacing="0" style="width:100%; margin-bottom:3px; background:none;"
 
| style="background-color:#{{{couleur fond|fff}}}; background-repeat:no-repeat; background-position:-40px -15px; width:100%; border:1px solid #{{{couleur bordure|aaa}}}; vertical-align:top; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;" |
 
| style="background-color:#{{{couleur fond|fff}}}; background-repeat:no-repeat; background-position:-40px -15px; width:100%; border:1px solid #{{{couleur bordure|aaa}}}; vertical-align:top; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;" |
 
{| style="width:100%; vertical-align:top; font-size:95%; background:transparent; "
 
{| style="width:100%; vertical-align:top; font-size:95%; background:transparent; "
Ligne 6 : Ligne 6 :
 
{{!}} style="height:3em; padding-left:3em;" {{!}} <span style="font-size:185%;">{{{titre}}}</span>{{#if:{{{sous-titre|}}}|<br/>{{{sous-titre}}}}}
 
{{!}} style="height:3em; padding-left:3em;" {{!}} <span style="font-size:185%;">{{{titre}}}</span>{{#if:{{{sous-titre|}}}|<br/>{{{sous-titre}}}}}
 
}}
 
}}
 +
{{#if:{{{contenu|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} <div><table style="width: 100%; background-color: transparent; padding-left:20px;padding-right:20px; margin-top:0.5em;">
+
{{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} {{{contenu}}}
<tr><td rowspan=2 valign=top>{{#if:{{{icone|}}}|[[Fichier:{{{icone}}}|{{{icone_size|75px}}}]]}}</td>
+
}}
<td valign=top style="padding-left:20px"><font style="font-size:150%;line-height:1em;">Portail</font> <br/>
 
<span style="font-size:200%;line-height:1em; margin-left:1em; ">[[Portail:{{{thème}}}|{{{thème}}}]]</span><br/>
 
<td valign=middle align=right><small>'''Il y a actuellement {{Nombre d'articles|titre={{#if:{{{cat|}}}|{{{cat}}}|{{{thème}}}}} }} liés à ce sujet.'''</small></td></tr>
 
</table></div>
 
 
|}
 
|}
 
|-
 
|-
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|transparent}};" |
+
| <!-- ESPACE HORIZONTAL -->  style="border:5px solid transparent;" |
|}
 
{| cellpadding="0" cellspacing="0" style="width:100%; margin:0px;  padding:3px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
 
|<div class="degrade" style="border:1px solid #{{{couleur bordure|aaa}}}; background-color:#{{{couleur fond|fff}}}; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;"><table width="100%" cellspacing="0" cellpadding="0" valign="top" border="0" style="background:transparent;"><tr>{{Cadre Portail/OngletUser|{{{thème}}}|{{{couleur bordure|aaa}}}|{{{discussion|Café}}}}}</tr></table></div>
 
 
|}
 
|}
{| cellspacing="0" cellpadding="0" style="width:100%; margin:0px; padding:0px 4px 4px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
+
<div class="degrade" style="border:1px solid #{{{couleur bordure|aaa}}}; background-color:#{{{couleur fond|fff}}}; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px; margin-bottom:3px"><table width="100%" cellspacing="0" cellpadding="0" valign="top" border="0" style="background:transparent;"><tr>{{Cadre Portail/Onglet|{{{thème}}}|{{{couleur bordure|aaa}}}|{{{discussion|Café}}}}}</tr></table></div>
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid transparent;" |
+
{| cellpadding="0" cellspacing="0" style="width:100%; margin-bottom:3px; background:none;"
 +
| <!-- ESPACE HORIZONTAL -->  style="border:5px solid transparent;" |
 
|-
 
|-
 
| style="background-repeat:no-repeat; background-position:-40px -15px; width:100%; border:1px solid #{{{couleur bordure|aaa}}}; background:#{{{couleur fond|fff}}}; vertical-align:top; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;" |
 
| style="background-repeat:no-repeat; background-position:-40px -15px; width:100%; border:1px solid #{{{couleur bordure|aaa}}}; background:#{{{couleur fond|fff}}}; vertical-align:top; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;" |
Ligne 72 : Ligne 67 :
 
|}
 
|}
 
|}</includeonly>
 
|}</includeonly>
<noinclude>[[Catégorie:Portail/Type_1]]</noinclude>
+
<noinclude>[[Catégorie:Portails/Type_1]]</noinclude>

Version du 2 septembre 2011 à 08:46