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

De Intercoop
Sauter à la navigation Sauter à la recherche
(Annulation des modifications 8683 de WikiSysop (discussion))
 
(15 révisions intermédiaires par le même utilisateur non affichées)
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>{| cellspacing="0" cellpadding="0" style="width:100%; margin-bottom:2px; padding:4px 4px 0px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{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 7 : Ligne 7 :
 
}}
 
}}
 
{{!-}}
 
{{!-}}
{{!}} 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;">
+
{{#if:{{{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/>
+
{{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} {{{contenu}}}
<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:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|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; 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>
|<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>
+
{| cellpadding="0" cellspacing="0" style="width:100%; margin-bottom:3px; background:none;"
|}
 
{| cellspacing="0" cellpadding="0" style="width:100%; margin:0px; padding:0px 4px 4px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
 
 
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid transparent;" |
 
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid transparent;" |
 
|-
 
|-
Ligne 72 : Ligne 68 :
 
|}
 
|}
 
|}</includeonly>
 
|}</includeonly>
<noinclude>[[Catégorie:Portail/Type_1]]</noinclude>
+
[[Catégorie:Portails/Type_1]]

Version actuelle datée du 2 septembre 2011 à 10:18